From 484aaceeb8c3aae0f0ae87deb88eae5ecf43da5f Mon Sep 17 00:00:00 2001 From: morrislaptop Date: Tue, 12 Jul 2022 14:54:04 +0000 Subject: [PATCH] Fix styling --- src/PropertyFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();