Skip to content

Commit

Permalink
Fix: error if translation contains ManyToMany including 'inversedBy' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
petrspevak authored Nov 24, 2022
1 parent 2ded2d4 commit 50b8952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ObjectInfo/DoctrineORMInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ private function getAssocsConfig(ClassMetadata $metadata, array $assocNames): ar
$associationMapping = $metadata->getAssociationMapping($assocName);

if (isset($associationMapping['inversedBy'])) {
$assocsConfigs[$assocName] = [];
continue;
}

Expand Down

0 comments on commit 50b8952

Please sign in to comment.