Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanvelzen committed Apr 2, 2022
1 parent 14785b7 commit 53f2922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpDoc/TypeNodeResolver.php
Expand Up @@ -855,7 +855,7 @@ private function resolveConstTypeNode(ConstTypeNode $typeNode, NameScope $nameSc
private function generateIntMaskType(Type $type): ?Type
{
$ints = TypeUtils::getConstantIntegers($type);
if (!$ints) {
if (count($ints) === 0) {
return null;
}

Expand Down

0 comments on commit 53f2922

Please sign in to comment.