Code Duplication    Length = 5-5 lines in 2 locations

src/Rule/AndRule.php 2 locations

@@ 639-643 (lines=5) @@
636
                        }
637
                    }
638
                    else {
639
                        if ( ! empty($operandsByOperator[ AboveRule::operator ])) {
640
                            if ($operandsByOperator[ AboveRule::operator ][0]->getLowerLimit() >= $notEqualRule->getValue()) {
641
                                unset($operandsByOperator[ NotEqualRule::operator ][$i]);
642
                            }
643
                        }
644
645
                        if ( ! empty($operandsByOperator[ BelowRule::operator ])) {
646
                            if ($operandsByOperator[ BelowRule::operator ][0]->getUpperLimit() <= $notEqualRule->getValue()) {
@@ 645-649 (lines=5) @@
642
                            }
643
                        }
644
645
                        if ( ! empty($operandsByOperator[ BelowRule::operator ])) {
646
                            if ($operandsByOperator[ BelowRule::operator ][0]->getUpperLimit() <= $notEqualRule->getValue()) {
647
                                unset($operandsByOperator[ NotEqualRule::operator ][$i]);
648
                            }
649
                        }
650
                    }
651
652
                    if ( ! empty($operandsByOperator[ NotInRule::operator ])) {