Skip to content

Commit acaa247

Browse files
authored
Remove attribute hotfix from Visitor
1 parent 66b4a69 commit acaa247

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Visitor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ public function enterNode(Node $node)
7272

7373
parent::enterNode($node);
7474

75-
if ($node instanceof Node\Param) {
76-
$node->attrGroups = [];
77-
}
78-
7975
if (! ($node instanceof Function_) && ! ($node instanceof ClassMethod) && ! ($node instanceof Property) && ! ($node instanceof Class_)) {
8076
return null;
8177
}

0 commit comments

Comments
 (0)