From 7ba0290643b92ea8929d1afaf0a3976642a513a6 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Tue, 10 Apr 2018 19:15:48 +0200 Subject: [PATCH] entity should be nullable as in master --- lib/Doctrine/ORM/Id/AbstractIdGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Id/AbstractIdGenerator.php b/lib/Doctrine/ORM/Id/AbstractIdGenerator.php index 011848cbf..9e2e22625 100644 --- a/lib/Doctrine/ORM/Id/AbstractIdGenerator.php +++ b/lib/Doctrine/ORM/Id/AbstractIdGenerator.php @@ -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);