Skip to content

Commit 8a14eee

Browse files
committed
Avoid another occurrence of ArrayAccess
1 parent c5315f8 commit 8a14eee

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
@@ -2669,7 +2669,7 @@ private function eagerLoadCollections(array $collections, ToManyInverseSideMappi
26692669
$data = $this->getOriginalEntityData($targetValue);
26702670
$id = [];
26712671
foreach ($targetClass->associationMappings[$mappedBy]->joinColumns as $joinColumn) {
2672-
$id[] = $data[$joinColumn['name']];
2672+
$id[] = $data[$joinColumn->name];
26732673
}
26742674
} else {
26752675
$id = $this->identifierFlattener->flattenIdentifier($class, $class->getIdentifierValues($sourceEntity));

0 commit comments

Comments
 (0)