Skip to content

Commit 6d85dab

Browse files
committed
bug symfony#58670 [TwigBridge] fix merge (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [TwigBridge] fix merge | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 77c1080 fix merge
2 parents a543896 + 77c1080 commit 6d85dab

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Bridge/Twig/Node/StopwatchNode.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ final class StopwatchNode extends Node
2727
{
2828
public function __construct(Node $name, Node $body, AssignNameExpression|LocalVariable $var, int $lineno = 0)
2929
{
30-
if (class_exists(FirstClassTwigCallableReady::class)) {
31-
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno);
32-
} else {
33-
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno, $tag);
34-
}
30+
parent::__construct(['body' => $body, 'name' => $name, 'var' => $var], [], $lineno);
3531
}
3632

3733
public function compile(Compiler $compiler): void

0 commit comments

Comments
 (0)