1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Update UnitOfWork.php

rename duplicate method
This commit is contained in:
flip111 2015-01-13 20:24:29 +01:00 committed by Marco Pivetta
parent b5dd999f84
commit d1a2655090

View File

@ -731,7 +731,7 @@ class UnitOfWork implements PropertyChangedListener
try {
$this->computeAssociationChanges($assoc, $val);
} catch (\Exception $ex) {
throw ORMInvalidArgumentException::invalidAssociation($entity, $assoc['fieldName'], $ex->value);
throw ORMInvalidArgumentException::computeAssociationChangesError($entity, $assoc['fieldName'], $ex->value);
}
if ( ! isset($this->entityChangeSets[$oid]) &&