Skip to content

Commit 18da586

Browse files
authored
Fix Visitor.php
1 parent eb59a10 commit 18da586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Visitor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function enterNode(Node $node)
6969

7070
parent::enterNode($node);
7171

72-
if ($node instanceof Node\Param && property_exists($node, 'attrGroups')) {
72+
if ($node instanceof Node\Param) {
7373
$node->attrGroups = [];
7474
}
7575

0 commit comments

Comments
 (0)