Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizen-ci committed May 2, 2021
1 parent 5956aa6 commit ab82e67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function refactor(Node $node): ?Node
}

$throws = $this->betterNodeFinder->findInstancesOf($node, [Node\Expr\Throw_::class, Throw_::class]);
if (count($throws) === 0) {
if ($throws === []) {
return null;
}

Expand Down

0 comments on commit ab82e67

Please sign in to comment.