Skip to content

Commit

Permalink
[PropertyInfo] CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 19, 2022
1 parent 0523bd3 commit 7fc7acb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -201,7 +201,7 @@ public function getTypes($class, $property, array $context = [])
}
case Type::BUILTIN_TYPE_INT:
case Type::BUILTIN_TYPE_STRING:
if ($enumType !== null) {
if ($enumType) {
return [$enumType];
}
break;
Expand Down

0 comments on commit 7fc7acb

Please sign in to comment.