mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-26 13:46:01 +00:00
added type hints
This commit is contained in:
@@ -32,7 +32,7 @@ class BlockReferenceExpression extends AbstractExpression
|
||||
parent::__construct($nodes, ['is_defined_test' => false, 'output' => false], $lineno, $tag);
|
||||
}
|
||||
|
||||
public function compile(Compiler $compiler)
|
||||
public function compile(Compiler $compiler): void
|
||||
{
|
||||
if ($this->getAttribute('is_defined_test')) {
|
||||
$this->compileTemplateCall($compiler, 'hasBlock');
|
||||
|
||||
Reference in New Issue
Block a user