This commit is contained in:
Fabien Potencier
2024-01-11 07:58:42 +01:00
parent 71e90fab7b
commit 72922a3612
@@ -42,9 +42,6 @@ class BlockReferenceExpression extends AbstractExpression
if ($compiler->getEnvironment()->useYield()) {
$compiler->write('yield from ');
}
if ($compiler->getEnvironment()->useYield()) {
$this
->compileTemplateCall($compiler, 'yieldBlock')
->raw(";\n");