Code Duplication    Length = 7-7 lines in 2 locations

src/PhpSpreadsheet/Calculation.php 2 locations

@@ 3884-3890 (lines=7) @@
3881
                }
3882
                break;
3883
            //    Equality
3884
            case '=':
3885
                if (is_numeric($operand1) && is_numeric($operand2)) {
3886
                    $result = (abs($operand1 - $operand2) < $this->delta);
3887
                } else {
3888
                    $result = strcmp($operand1, $operand2) == 0;
3889
                }
3890
                break;
3891
            //    Greater than or equal
3892
            case '>=':
3893
                if (is_numeric($operand1) && is_numeric($operand2)) {
@@ 3912-3918 (lines=7) @@
3909
                }
3910
                break;
3911
            //    Inequality
3912
            case '<>':
3913
                if (is_numeric($operand1) && is_numeric($operand2)) {
3914
                    $result = (abs($operand1 - $operand2) > 1E-14);
3915
                } else {
3916
                    $result = strcmp($operand1, $operand2) != 0;
3917
                }
3918
                break;
3919
        }
3920
3921
        //    Log the result details