mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-15 16:26:01 +00:00
added type hints
This commit is contained in:
@@ -41,7 +41,7 @@ class ForNode extends Node
|
||||
parent::__construct($nodes, ['with_loop' => true, 'ifexpr' => null !== $ifexpr], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler
|
||||
->addDebugInfo($this)
|
||||
|
||||
Reference in New Issue
Block a user