diff --git a/src/PropertyFactory.php b/src/PropertyFactory.php index f97c0d3..642a2c2 100644 --- a/src/PropertyFactory.php +++ b/src/PropertyFactory.php @@ -91,7 +91,7 @@ protected function extractDocBlockType(ReflectionProperty $property): ?string if ($type->isCollection()) { // Patch for Symfony 6 - if (method_exists($type,'getCollectionValueTypes')) { + if (method_exists($type, 'getCollectionValueTypes')) { $collectionType = $type->getCollectionValueTypes()[0]; } else { $collectionType = $type->getCollectionValueType();