We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665ecdb commit 2fd6196Copy full SHA for 2fd6196
src/SQLParser/Node/NodeFactory.php
@@ -632,12 +632,6 @@ public static function simplify($nodes)
632
$instance->setLeftOperand($leftOperand);
633
$instance->setRightOperand($rightOperand);
634
635
- $leftOperand = array_shift($operands);
636
- $rightOperand = array_shift($operands);
637
- $instance = new self::$OPERATOR_TO_CLASS[$operation]();
638
- $instance->setLeftOperand($leftOperand);
639
- $instance->setRightOperand($rightOperand);
640
-
641
return $instance;
642
} elseif (isset(self::$OPERATOR_TO_CLASS[$operation]) && is_subclass_of(self::$OPERATOR_TO_CLASS[$operation], 'SQLParser\Node\AbstractManyInstancesOperator')) {
643
$instance = new self::$OPERATOR_TO_CLASS[$operation]();
0 commit comments