mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-14 07:46:02 +00:00
added type hints
This commit is contained in:
@@ -26,7 +26,7 @@ class TextNode extends Node implements NodeOutputInterface
|
||||
parent::__construct([], ['data' => $data], $lineno);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler
|
||||
->addDebugInfo($this)
|
||||
|
||||
Reference in New Issue
Block a user