1
0
mirror of synced 2025-02-09 00:39: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 7378035f68
commit ec4dd4ab44

View File

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