1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Correct naming convention of function. Was confusing otherwise

This commit is contained in:
Rico Humme 2016-06-03 16:31:35 +02:00 committed by Marco Pivetta
parent 110d771883
commit 4a38c96ec5

View File

@ -2408,7 +2408,7 @@ class UnitOfWork implements PropertyChangedListener
}
} else {
$this->clearIdentityMap($entityName);
$this->clearIdentityInsertions($entityName);
$this->clearEntityInsertions($entityName);
}
if ($this->evm->hasListeners(Events::onClear)) {
@ -3484,7 +3484,7 @@ class UnitOfWork implements PropertyChangedListener
/**
* @param $entityName
*/
private function clearIdentityInsertions($entityName)
private function clearEntityInsertions($entityName)
{
foreach ($this->entityInsertions as $hash => $entity) {
if (get_class($entity) === $entityName) {