Skip to content

Commit 801a73b

Browse files
committed
[ci-review] Rector Rectify
1 parent 008190a commit 801a73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NodeTypeResolver/PHPStan/Scope/NodeVisitor/PhpVersionConditionNodeVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function enterNode(Node $node): ?Node
2727
if (($node instanceof Ternary || $node instanceof If_) && $this->hasVersionCompareCond($node)) {
2828
if ($node instanceof Ternary) {
2929
$nodes = [$node->else];
30-
if ($node->if instanceof \PhpParser\Node) {
30+
if ($node->if instanceof Node) {
3131
$nodes[] = $node->if;
3232
}
3333
} else {

0 commit comments

Comments
 (0)