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 b0bc555 commit 46363abCopy full SHA for 46363ab
src/Twig/TokenParsers/FoldNode.php
@@ -10,7 +10,7 @@ class FoldNode extends Twig_Node
10
11
public function __construct(Twig_Node $body, array $attributes, $lineno, $tag)
12
{
13
- parent::__construct([$body], $attributes, $lineno, $tag);
+ parent::__construct(['body' => $body], $attributes, $lineno, $tag);
14
}
15
16
public function compile(Twig_Compiler $compiler)
0 commit comments