entity should be nullable as in master
This commit is contained in:
parent
8ceb47178b
commit
7ba0290643
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user