From acaa247c1baecf3834ce976748c803be97e04588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 24 Apr 2025 22:48:19 +0200 Subject: [PATCH] Remove attribute hotfix from Visitor --- src/Visitor.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Visitor.php b/src/Visitor.php index 386000e..ab7434a 100644 --- a/src/Visitor.php +++ b/src/Visitor.php @@ -72,10 +72,6 @@ public function enterNode(Node $node) parent::enterNode($node); - if ($node instanceof Node\Param) { - $node->attrGroups = []; - } - if (! ($node instanceof Function_) && ! ($node instanceof ClassMethod) && ! ($node instanceof Property) && ! ($node instanceof Class_)) { return null; }