Skip to content

Commit d7b1c7e

Browse files
authored
Loosen the visibility of the node stack so a child class can access it (#13)
1 parent b4bad6b commit d7b1c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NodeVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class NodeVisitor extends NodeVisitorAbstract
5252
* @psalm-suppress PropertyNotSetInConstructor
5353
* @var Node[]
5454
*/
55-
private $stack;
55+
protected $stack;
5656

5757
/** @var Namespace_[] */
5858
private $namespaces = [];

0 commit comments

Comments
 (0)