From 059c33e69d95f436e79043153a854eec1f331923 Mon Sep 17 00:00:00 2001 From: flip111 Date: Tue, 13 Jan 2015 20:15:53 +0100 Subject: [PATCH] Update UnitOfWork.php removed one `)` too many --- lib/Doctrine/ORM/UnitOfWork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 6bc964d0e..49176da5d 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -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); }