We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c4910d commit 2003479Copy full SHA for 2003479
src/Type/Doctrine/ObjectMetadataResolver.php
@@ -120,8 +120,10 @@ public function getClassMetadata(string $className): ?ClassMetadataInfo
120
return null;
121
}
122
123
+ /** @throws \Doctrine\Persistence\Mapping\MappingException | MappingException | AnnotationException */
124
$metadata = $metadataFactory->getMetadataFor($className);
125
} else {
126
127
$metadata = $objectManager->getClassMetadata($className);
128
129
} catch (\Doctrine\Persistence\Mapping\MappingException | MappingException | AnnotationException $e) {
0 commit comments