From 632559120cd8adb7636c9b0174131df4ee8bb9a7 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Wed, 19 Oct 2022 15:34:31 +0200 Subject: [PATCH] Identity map cannot contains null value --- lib/Doctrine/ORM/UnitOfWork.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index a859ccc46b1..f7f87ca4a97 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -126,7 +126,7 @@ class UnitOfWork implements PropertyChangedListener * we always take the root class name of the hierarchy. * * @var mixed[] - * @psalm-var array> + * @psalm-var array> */ private $identityMap = []; @@ -3048,7 +3048,7 @@ public function loadCollection(PersistentCollection $collection) /** * Gets the identity map of the UnitOfWork. * - * @psalm-return array> + * @psalm-return array> */ public function getIdentityMap() {