Code Duplication    Length = 7-7 lines in 2 locations

src/ExprBuilder.php 2 locations

@@ 151-157 (lines=7) @@
148
     *
149
     * @return ExprBuilder
150
     */
151
    public function between($from, $to)
152
    {
153
        $from = static::normalizeExpression($from);
154
        $to = static::normalizeExpression($to);
155
156
        return new self(new Comparison\Between($this->wrappedExpression, $from, $to));
157
    }
158
159
    /**
160
     * @param mixed $right
@@ 245-251 (lines=7) @@
242
     *
243
     * @return ExprBuilder
244
     */
245
    public function notBetween($from, $to)
246
    {
247
        $from = static::normalizeExpression($from);
248
        $to = static::normalizeExpression($to);
249
250
        return new self(new Comparison\NotBetween($this->wrappedExpression, $from, $to));
251
    }
252
253
    /**
254
     * @param mixed $right