We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec03e09 commit d4ece74Copy full SHA for d4ece74
src/TwigComponent/src/Twig/ComponentNode.php
@@ -78,7 +78,7 @@ public function compile(Compiler $compiler): void
78
->raw("\n")
79
->indent();
80
if (method_exists(Environment::class, 'useYield')) {
81
- $compiler->write('yield from $preRendered; ');
+ $compiler->write('yield $preRendered; ');
82
} else {
83
$compiler->write('echo $preRendered; ');
84
}
0 commit comments