Skip to content

Commit 7178b9d

Browse files
authored
Merge pull request #11370 from greg0ire/forgotten-array-access
Avoid another occurrence of ArrayAccess
2 parents c5315f8 + 8a14eee commit 7178b9d

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)