Skip to content

Commit 2627a37

Browse files
committed
Fix internal identifier traversing for name nodes
1 parent 6b8c229 commit 2627a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/Name.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Name extends Node implements \IteratorAggregate, \Countable, \Stringable
1717
/**
1818
* @var non-empty-list<Identifier>
1919
*/
20-
private readonly array $parts;
20+
public readonly array $parts;
2121

2222
/**
2323
* @param iterable<array-key, Identifier|non-empty-string>|non-empty-string|Identifier $name

0 commit comments

Comments
 (0)