Skip to content

Commit b0bc555

Browse files
committed
Fixed incorrect types
1 parent 9d27675 commit b0bc555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Twig/TokenParsers/FoldNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
class FoldNode extends Twig_Node
99
{
1010

11-
public function __construct(array $nodes, array $attributes, $lineno, $tag)
11+
public function __construct(Twig_Node $body, array $attributes, $lineno, $tag)
1212
{
13-
parent::__construct($nodes, $attributes, $lineno, $tag);
13+
parent::__construct([$body], $attributes, $lineno, $tag);
1414
}
1515

1616
public function compile(Twig_Compiler $compiler)

0 commit comments

Comments
 (0)