We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26495b commit 6ef19d6Copy full SHA for 6ef19d6
src/Application/NodeAttributeReIndexer.php
@@ -66,9 +66,7 @@ public static function reIndexNodeAttributes(Node $node): ?Node
66
67
private static function reIndexStmtsKeys(Node $node): ?Node
68
{
69
- if (! NodeGroup::isStmtAwareNode(
70
- $node
71
- ) && ! $node instanceof ClassLike && ! $node instanceof Declare_) {
+ if (! NodeGroup::isStmtAwareNode($node) && ! $node instanceof ClassLike && ! $node instanceof Declare_) {
72
return null;
73
}
74
0 commit comments