Code Duplication    Length = 7-7 lines in 2 locations

src/PhpSpreadsheet/Calculation/Calculation.php 2 locations

@@ 3918-3924 (lines=7) @@
3915
3916
                break;
3917
            //    Equality
3918
            case '=':
3919
                if (is_numeric($operand1) && is_numeric($operand2)) {
3920
                    $result = (abs($operand1 - $operand2) < $this->delta);
3921
                } else {
3922
                    $result = strcmp($operand1, $operand2) == 0;
3923
                }
3924
3925
                break;
3926
            //    Greater than or equal
3927
            case '>=':
@@ 3949-3955 (lines=7) @@
3946
3947
                break;
3948
            //    Inequality
3949
            case '<>':
3950
                if (is_numeric($operand1) && is_numeric($operand2)) {
3951
                    $result = (abs($operand1 - $operand2) > 1E-14);
3952
                } else {
3953
                    $result = strcmp($operand1, $operand2) != 0;
3954
                }
3955
3956
                break;
3957
        }
3958