mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 05:15:35 +00:00
added type hints
This commit is contained in:
@@ -31,7 +31,7 @@ class AutoEscapeNode extends Node
|
||||
parent::__construct(['body' => $body], ['value' => $value], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler->subcompile($this->getNode('body'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user