mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-11 18:06:46 +00:00
fixed phpdocs
This commit is contained in:
@@ -58,7 +58,7 @@ final class NodeTraverser
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Node|false
|
||||
* @return Node|null
|
||||
*/
|
||||
private function traverseForVisitor(NodeVisitorInterface $visitor, Node $node)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ abstract class AbstractNodeVisitor implements NodeVisitorInterface
|
||||
/**
|
||||
* Called after child nodes are visited.
|
||||
*
|
||||
* @return Node|false|null The modified node or null if the node must be removed
|
||||
* @return Node|null The modified node or null if the node must be removed
|
||||
*/
|
||||
abstract protected function doLeaveNode(Node $node, Environment $env);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ interface NodeVisitorInterface
|
||||
/**
|
||||
* Called after child nodes are visited.
|
||||
*
|
||||
* @return Node|false|null The modified node or null if the node must be removed
|
||||
* @return Node|null The modified node or null if the node must be removed
|
||||
*/
|
||||
public function leaveNode(Node $node, Environment $env);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user