Skip to content

Commit 75b3af7

Browse files
committed
[ci-review] Rector Rectify
1 parent e6a5b1a commit 75b3af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpParser/Enum/NodeGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ final class NodeGroup
7979
public static function isStmtAwareNode(Node $node): bool
8080
{
8181
foreach (self::STMTS_AWARE as $stmtAwareClass) {
82-
if (is_a($node, $stmtAwareClass, true)) {
82+
if ($node instanceof $stmtAwareClass) {
8383
return true;
8484
}
8585
}

0 commit comments

Comments
 (0)