Skip to content

Commit e62812e

Browse files
[PropertyInfo] CS fix
1 parent 80eeabf commit e62812e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)