1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00

Update UnitOfWork.php

removed one `)` too many
This commit is contained in:
flip111 2015-01-13 20:15:53 +01:00 committed by Marco Pivetta
parent 1ae153d315
commit 059c33e69d

View file

@ -834,7 +834,7 @@ class UnitOfWork implements PropertyChangedListener
$targetClass = $this->em->getClassMetadata($assoc['targetEntity']);
foreach ($unwrappedValue as $key => $entry) {
if (! ($entry instanceof $targetClass->name))) {
if (! ($entry instanceof $targetClass->name)) {
throw ORMInvalidArgumentException::invalidAssociation($targetClass, $assoc, $entry);
}