Update UnitOfWork.php
rename duplicate method
This commit is contained in:
parent
b5dd999f84
commit
d1a2655090
@ -731,7 +731,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
try {
|
try {
|
||||||
$this->computeAssociationChanges($assoc, $val);
|
$this->computeAssociationChanges($assoc, $val);
|
||||||
} catch (\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
throw ORMInvalidArgumentException::invalidAssociation($entity, $assoc['fieldName'], $ex->value);
|
throw ORMInvalidArgumentException::computeAssociationChangesError($entity, $assoc['fieldName'], $ex->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! isset($this->entityChangeSets[$oid]) &&
|
if ( ! isset($this->entityChangeSets[$oid]) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user