mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-08 04:45:47 +00:00
Remove usage of ob_* functions in favor of yielding
This commit is contained in:
@@ -28,7 +28,7 @@ class BlockReferenceTest extends NodeTestCase
|
||||
return [
|
||||
[new BlockReferenceNode('foo', 1), <<<EOF
|
||||
// line 1
|
||||
\$this->displayBlock('foo', \$context, \$blocks);
|
||||
{$this->getDisplayOrYieldBlock('$this')}('foo', \$context, \$blocks);
|
||||
EOF
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user