mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-14 15:56:47 +00:00
added type hints
This commit is contained in:
@@ -30,7 +30,7 @@ class WithNode extends Node
|
||||
parent::__construct($nodes, ['only' => $only], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user