1
0
mirror of synced 2025-02-13 10:49:25 +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 ORMInvalidArgumentException If the entity instance is NEW.
* @throws EntityNotFoundException * @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); $oid = spl_object_hash($entity);