Code Duplication    Length = 7-7 lines in 2 locations

src/PhpSpreadsheet/Calculation.php 2 locations

@@ 3880-3886 (lines=7) @@
3877
                }
3878
                break;
3879
            //    Equality
3880
            case '=':
3881
                if (is_numeric($operand1) && is_numeric($operand2)) {
3882
                    $result = (abs($operand1 - $operand2) < $this->delta);
3883
                } else {
3884
                    $result = strcmp($operand1, $operand2) == 0;
3885
                }
3886
                break;
3887
            //    Greater than or equal
3888
            case '>=':
3889
                if (is_numeric($operand1) && is_numeric($operand2)) {
@@ 3908-3914 (lines=7) @@
3905
                }
3906
                break;
3907
            //    Inequality
3908
            case '<>':
3909
                if (is_numeric($operand1) && is_numeric($operand2)) {
3910
                    $result = (abs($operand1 - $operand2) > 1E-14);
3911
                } else {
3912
                    $result = strcmp($operand1, $operand2) != 0;
3913
                }
3914
                break;
3915
        }
3916
3917
        //    Log the result details