function NodeVisitor::beforeTraverse
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/NodeVisitor.php \PhpParser\NodeVisitor::beforeTraverse()
* Called once before traversal. * * Return value semantics: * * null: $nodes stays as-is * * otherwise: $nodes is set to the return value * *
Parameters
Node[] $nodes Array of nodes: * * @return Node[]|null Array of nodes
1 method overrides NodeVisitor::beforeTraverse()
- AbstractNodeVisitor::beforeTraverse in vendor/
phpstan/ phpdoc-parser/ src/ Ast/ AbstractNodeVisitor.php - * Called once before traversal. * * Return value semantics: * * null: $nodes stays as-is * * otherwise: $nodes is set to the return value * *
File
-
vendor/
phpstan/ phpdoc-parser/ src/ Ast/ NodeVisitor.php, line 25
Class
Namespace
PHPStan\PhpDocParser\AstCode
public function beforeTraverse(array $nodes) : ?array;