⬇️ Restore php-parser to its original version as tests are failing :/

This commit is contained in:
Pierre Goiffon
2021-03-29 16:51:10 +02:00
parent d62825c99b
commit afd9ddf46d
235 changed files with 13778 additions and 13877 deletions

View File

@@ -1,4 +1,4 @@
<?php declare(strict_types=1);
<?php
namespace PhpParser;
@@ -32,7 +32,7 @@ interface NodeVisitor
*
* @param Node $node Node
*
* @return null|int|Node Replacement node (or special return value)
* @return null|int|Node Node
*/
public function enterNode(Node $node);
@@ -53,7 +53,7 @@ interface NodeVisitor
*
* @param Node $node Node
*
* @return null|int|Node|Node[] Replacement node (or special return value)
* @return null|false|int|Node|Node[] Node
*/
public function leaveNode(Node $node);
@@ -69,4 +69,4 @@ interface NodeVisitor
* @return null|Node[] Array of nodes
*/
public function afterTraverse(array $nodes);
}
}