Code Duplication    Length = 7-7 lines in 2 locations

src/PhpSpreadsheet/Calculation.php 2 locations

@@ 3904-3910 (lines=7) @@
3901
                }
3902
                break;
3903
            //    Equality
3904
            case '=':
3905
                if (is_numeric($operand1) && is_numeric($operand2)) {
3906
                    $result = (abs($operand1 - $operand2) < $this->delta);
3907
                } else {
3908
                    $result = strcmp($operand1, $operand2) == 0;
3909
                }
3910
                break;
3911
            //    Greater than or equal
3912
            case '>=':
3913
                if (is_numeric($operand1) && is_numeric($operand2)) {
@@ 3932-3938 (lines=7) @@
3929
                }
3930
                break;
3931
            //    Inequality
3932
            case '<>':
3933
                if (is_numeric($operand1) && is_numeric($operand2)) {
3934
                    $result = (abs($operand1 - $operand2) > 1E-14);
3935
                } else {
3936
                    $result = strcmp($operand1, $operand2) != 0;
3937
                }
3938
                break;
3939
        }
3940
3941
        //    Log the result details