From 16cddd4693f50b88fb1320dc0590f5fd328d66cd Mon Sep 17 00:00:00 2001 From: ReenExe Date: Sat, 2 Jul 2016 22:13:06 +0300 Subject: [PATCH] claar code from `Scrutinizer` --- 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 7044ce57e..b2c1c6f4b 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -1796,7 +1796,7 @@ class UnitOfWork implements PropertyChangedListener * @throws ORMInvalidArgumentException If the entity instance is NEW. * @throws EntityNotFoundException */ - private function doMerge($entity, array &$visited, $prevManagedCopy = null, $assoc = null) + private function doMerge($entity, array &$visited, $prevManagedCopy = null, array $assoc = []) { $oid = spl_object_hash($entity);