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:
@@ -26,7 +26,7 @@ class BlockNode extends Node
|
||||
parent::__construct(['body' => $body], ['name' => $name], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
$compiler
|
||||
->addDebugInfo($this)
|
||||
|
||||
Reference in New Issue
Block a user