Skip to content

Commit 540e5b1

Browse files
committed
add comment why the method is needed
1 parent 5e72668 commit 540e5b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/PhpParser/NodeTraverser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ protected function traverseArray(array $nodes): array {
271271
}
272272

273273
/**
274+
* This method give ability to customize which visitors are applied to a given node in child class.
275+
*
274276
* @return NodeVisitor[]
275277
*/
276278
protected function getVisitorsForNode(Node $node) {

0 commit comments

Comments
 (0)