Update UnitOfWork.php
removed one `)` too many
This commit is contained in:
parent
1ae153d315
commit
059c33e69d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue