Skip to content

Commit

Permalink
Identity map cannot contains null value
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jan 20, 2023
1 parent aee1d33 commit 6325591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class UnitOfWork implements PropertyChangedListener
* we always take the root class name of the hierarchy.
*
* @var mixed[]
* @psalm-var array<class-string, array<string, object|null>>
* @psalm-var array<class-string, array<string, object>>
*/
private $identityMap = [];

Expand Down Expand Up @@ -3048,7 +3048,7 @@ public function loadCollection(PersistentCollection $collection)
/**
* Gets the identity map of the UnitOfWork.
*
* @psalm-return array<class-string, array<string, object|null>>
* @psalm-return array<class-string, array<string, object>>
*/
public function getIdentityMap()
{
Expand Down

0 comments on commit 6325591

Please sign in to comment.