Use the current variable node class in the node tree example

This commit is contained in:
Fabien Potencier
2026-09-25 23:53:00 +02:00
parent 2904612341
commit db3aeb7379
+1 -1
View File
@@ -95,7 +95,7 @@ Here is the output for the ``Hello {{ name }}`` template:
\Twig\Node\ModuleNode(
\Twig\Node\TextNode(Hello )
\Twig\Node\PrintNode(
\Twig\Node\Expression\NameExpression(name)
\Twig\Node\Expression\Variable\ContextVariable(name)
)
)