Correct naming convention of function. Was confusing otherwise
This commit is contained in:
parent
110d771883
commit
4a38c96ec5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user