Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 25, 2024
1 parent a543896 commit 77c1080
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Symfony/Bridge/Twig/Node/StopwatchNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ final class StopwatchNode extends Node
{
public function __construct(Node $name, Node $body, AssignNameExpression|LocalVariable $var, int $lineno = 0)
{
if (class_exists(FirstClassTwigCallableReady::class)) {
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno);
} else {
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno, $tag);
}
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno);
}

public function compile(Compiler $compiler): void
Expand Down

0 comments on commit 77c1080

Please sign in to comment.