Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fc7acb

Browse files
[PropertyInfo] CS fix
1 parent 0523bd3 commit 7fc7acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Doctrine/PropertyInfo/DoctrineExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function getTypes($class, $property, array $context = [])
201201
}
202202
case Type::BUILTIN_TYPE_INT:
203203
case Type::BUILTIN_TYPE_STRING:
204-
if ($enumType !== null) {
204+
if ($enumType) {
205205
return [$enumType];
206206
}
207207
break;

0 commit comments

Comments
 (0)