Skip to content

Commit c49be6b

Browse files
authored
Update DefaultApplyingNodeVisitor.php
Fix Translation\Bundle\Tests\Unit\Twig\DefaultApplyingNodeVisitorTest::testApply
1 parent 735c848 commit c49be6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Twig/Visitor/DefaultApplyingNodeVisitor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ public function enterNode(Node $node, Environment $env): Node
116116

117117
$expr = new EqualBinary($testNode, $transNode->getNode('node'), $wrappingNode->getTemplateLine());
118118
if (Environment::VERSION_ID >= 31700) {
119-
$expr->setAttribute('operator', 'binary_==');
120-
121119
$condition = new ConditionalTernary(
122120
$expr,
123121
$defaultNode,

0 commit comments

Comments
 (0)