Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
morrislaptop authored and github-actions[bot] committed Jul 12, 2022
1 parent e7db2f6 commit 484aace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PropertyFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 484aace

Please sign in to comment.