1
0
mirror of synced 2025-02-03 05:49:25 +03:00

#5849 #5850 renamed clearIdentityMap to clearIdentityMapForEntityName, for clarity

This commit is contained in:
Marco Pivetta 2016-06-06 00:10:18 +02:00
parent 34d8e00df7
commit 14e0800293

View File

@ -2390,7 +2390,7 @@ class UnitOfWork implements PropertyChangedListener
$this->visitedCollections = $this->visitedCollections =
$this->orphanRemovals = array(); $this->orphanRemovals = array();
} else { } else {
$this->clearIdentityMap($entityName); $this->clearIdentityMapForEntityName($entityName);
$this->clearEntityInsertions($entityName); $this->clearEntityInsertions($entityName);
} }
@ -3456,9 +3456,9 @@ class UnitOfWork implements PropertyChangedListener
} }
/** /**
* @param $entityName * @param string $entityName
*/ */
private function clearIdentityMap($entityName) private function clearIdentityMapForEntityName($entityName)
{ {
$visited = array(); $visited = array();