1
0
mirror of synced 2025-02-09 08:49:26 +03:00

claar code from Scrutinizer

This commit is contained in:
ReenExe 2016-07-02 22:13:06 +03:00
parent ffd1465af2
commit 16cddd4693

View File

@ -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);