Skip to content

Commit 1127042

Browse files
authored
Fix failed merge (#11464)
1 parent f1246d5 commit 1127042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UnitOfWork.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2653,7 +2653,7 @@ private function eagerLoadCollections(array $collections, ToManyInverseSideMappi
26532653
$entities[] = $collection->getOwner();
26542654
}
26552655

2656-
$found = $this->getEntityPersister($targetEntity)->loadAll([$mappedBy => $entities], $mapping['orderBy'] ?? null);
2656+
$found = $this->getEntityPersister($targetEntity)->loadAll([$mappedBy => $entities], $mapping->orderBy);
26572657

26582658
$targetClass = $this->em->getClassMetadata($targetEntity);
26592659
$targetProperty = $targetClass->getReflectionProperty($mappedBy);

0 commit comments

Comments
 (0)