Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 15, 2021
1 parent b8736bf commit 2c56a5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function inferProperty(Property $property): ?Type
$resolvedTypes[] = $this->nodeTypeResolver->getType($assignedExpr);
}

if (count($resolvedTypes) === 0) {
if ($resolvedTypes === []) {
return null;
}

Expand Down

0 comments on commit 2c56a5a

Please sign in to comment.