Skip to content

Commit 2003479

Browse files
committed
Fix build
1 parent 6c4910d commit 2003479

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Type/Doctrine/ObjectMetadataResolver.php

+2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ public function getClassMetadata(string $className): ?ClassMetadataInfo
120120
return null;
121121
}
122122

123+
/** @throws \Doctrine\Persistence\Mapping\MappingException | MappingException | AnnotationException */
123124
$metadata = $metadataFactory->getMetadataFor($className);
124125
} else {
126+
/** @throws \Doctrine\Persistence\Mapping\MappingException | MappingException | AnnotationException */
125127
$metadata = $objectManager->getClassMetadata($className);
126128
}
127129
} catch (\Doctrine\Persistence\Mapping\MappingException | MappingException | AnnotationException $e) {

0 commit comments

Comments
 (0)