Skip to content

Commit 5bf5687

Browse files
Merge branch '7.1' into 7.2
* 7.1: Removed body size limit prevent failures around not existing TypeInfo classes fix version check to include dev versions
2 parents d8ec57f + 0e64f87 commit 5bf5687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/Loader/PropertyInfoLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function loadClassMetadata(ClassMetadata $metadata): bool
172172
*/
173173
private function getPropertyTypes(string $className, string $property): TypeInfoType|array|null
174174
{
175-
if (method_exists($this->typeExtractor, 'getType')) {
175+
if (class_exists(TypeInfoType::class) && method_exists($this->typeExtractor, 'getType')) {
176176
return $this->typeExtractor->getType($className, $property);
177177
}
178178

0 commit comments

Comments
 (0)