Skip to content

Commit

Permalink
Loosen the visibility of the node stack so a child class can access it (
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion authored Mar 24, 2022
1 parent b4bad6b commit d7b1c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class NodeVisitor extends NodeVisitorAbstract
* @psalm-suppress PropertyNotSetInConstructor
* @var Node[]
*/
private $stack;
protected $stack;

/** @var Namespace_[] */
private $namespaces = [];
Expand Down

0 comments on commit d7b1c7e

Please sign in to comment.