mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Merge branch '3.x' into 4.x
* 3.x: Fix CS Remove redundant "$thing instanceof \Countable" check Update PHPUnit schema fix TwigExtraBundle tests with Symfony 6.0/6.1
This commit is contained in:
@@ -25,7 +25,7 @@ class ForNode extends Node
|
||||
{
|
||||
private ForLoopNode $loop;
|
||||
|
||||
public function __construct(AssignNameExpression $keyTarget, AssignNameExpression $valueTarget, AbstractExpression $seq, ?Node $ifexpr, Node $body, ?Node $else, int $lineno, string $tag = null)
|
||||
public function __construct(AssignNameExpression $keyTarget, AssignNameExpression $valueTarget, AbstractExpression $seq, ?Node $ifexpr, Node $body, ?Node $else, int $lineno, ?string $tag = null)
|
||||
{
|
||||
$body = new Node([$body, $this->loop = new ForLoopNode($lineno, $tag)]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user