mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 06:29:03 +00:00
added type hints
This commit is contained in:
@@ -27,7 +27,7 @@ class PrintNode extends Node implements NodeOutputInterface
|
||||
parent::__construct(['expr' => $expr], [], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler
|
||||
->addDebugInfo($this)
|
||||
|
||||
Reference in New Issue
Block a user