Upgrade framework
This commit is contained in:
1 parent
1648a5cd42
commit
4fcf6fffcc
10548 files changed
+693131
-466691
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace PhpParser;
|
||||
|
||||
@@ -9,14 +9,14 @@ interface NodeTraverserInterface
|
||||
*
|
||||
* @param NodeVisitor $visitor Visitor to add
|
||||
*/
|
||||
function addVisitor(NodeVisitor $visitor);
|
||||
public function addVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Removes an added visitor.
|
||||
*
|
||||
* @param NodeVisitor $visitor
|
||||
*/
|
||||
function removeVisitor(NodeVisitor $visitor);
|
||||
public function removeVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Traverses an array of nodes using the registered visitors.
|
||||
@@ -25,6 +25,5 @@ interface NodeTraverserInterface
|
||||
*
|
||||
* @return Node[] Traversed array of nodes
|
||||
*/
|
||||
function traverse(array $nodes);
|
||||
public function traverse(array $nodes) : array;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user