1
0
mirror of synced 2025-02-13 10:49:25 +03:00

entity should be nullable as in master

This commit is contained in:
Tobias Schultze 2018-04-10 19:15:48 +02:00 committed by GitHub
parent 8ceb47178b
commit 7ba0290643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ abstract class AbstractIdGenerator
* Generates an identifier for an entity. * Generates an identifier for an entity.
* *
* @param EntityManager $em * @param EntityManager $em
* @param object $entity * @param object|null $entity
* @return mixed * @return mixed
*/ */
abstract public function generate(EntityManager $em, $entity); abstract public function generate(EntityManager $em, $entity);