Code Duplication    Length = 3-3 lines in 2 locations

src/Query/TermLevel/RangeQuery.php 2 locations

@@ 47-49 (lines=3) @@
44
    {
45
        $this->setParameters($parameters);
46
47
        if ($this->hasParameter(self::GTE) && $this->hasParameter(self::GT)) {
48
            unset($this->parameters[self::GT]);
49
        }
50
51
        if ($this->hasParameter(self::LTE) && $this->hasParameter(self::LT)) {
52
            unset($this->parameters[self::LT]);
@@ 51-53 (lines=3) @@
48
            unset($this->parameters[self::GT]);
49
        }
50
51
        if ($this->hasParameter(self::LTE) && $this->hasParameter(self::LT)) {
52
            unset($this->parameters[self::LT]);
53
        }
54
55
        $this->field = $field;
56
    }