mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
⬇️ Restore php-parser to its original version as tests are failing :/
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
namespace PhpParser;
|
||||
|
||||
@@ -9,14 +9,14 @@ interface NodeTraverserInterface
|
||||
*
|
||||
* @param NodeVisitor $visitor Visitor to add
|
||||
*/
|
||||
public function addVisitor(NodeVisitor $visitor);
|
||||
function addVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Removes an added visitor.
|
||||
*
|
||||
* @param NodeVisitor $visitor
|
||||
*/
|
||||
public function removeVisitor(NodeVisitor $visitor);
|
||||
function removeVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Traverses an array of nodes using the registered visitors.
|
||||
@@ -25,5 +25,6 @@ interface NodeTraverserInterface
|
||||
*
|
||||
* @return Node[] Traversed array of nodes
|
||||
*/
|
||||
public function traverse(array $nodes) : array;
|
||||
function traverse(array $nodes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user