mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
entity should be nullable as in master
This commit is contained in:
@@ -27,7 +27,7 @@ abstract class AbstractIdGenerator
|
||||
* Generates an identifier for an entity.
|
||||
*
|
||||
* @param EntityManager $em
|
||||
* @param object $entity
|
||||
* @param object|null $entity
|
||||
* @return mixed
|
||||
*/
|
||||
abstract public function generate(EntityManager $em, $entity);
|
||||
|
||||
Reference in New Issue
Block a user