Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
caciobanu committed Aug 8, 2018
1 parent a601a69 commit 2c4218c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private function getDocumentPersister(ClassMetadata $class): DocumentPersister
return $this->dm->getUnitOfWork()->getDocumentPersister($class->name);
}

private function getReferencedFieldName(string $fieldName, array $mapping): ?string
private function getReferencedFieldName(string $fieldName, array $mapping): string
{
if (! $mapping['isOwningSide']) {
if (isset($mapping['repositoryMethod']) || ! isset($mapping['mappedBy'])) {
Expand Down

0 comments on commit 2c4218c

Please sign in to comment.