We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9438be7 commit b766d5aCopy full SHA for b766d5a
1 file changed
src/Adapter/Doctrine/ORMAdapter.php
@@ -143,8 +143,9 @@ protected function getAliases(AdapterQuery $query): array
143
144
list($origin, $target) = explode('.', $join->getJoin());
145
146
+ assert(is_string($alias = $join->getAlias()));
147
$mapping = $aliases[$origin][1]->getAssociationMapping($target);
- $aliases[$join->getAlias()] = [$join->getJoin(), $this->manager->getMetadataFactory()->getMetadataFor($mapping['targetEntity'])];
148
+ $aliases[$alias] = [$join->getJoin(), $this->manager->getMetadataFactory()->getMetadataFor($mapping['targetEntity'])];
149
}
150
151
0 commit comments