Code Duplication    Length = 9-9 lines in 2 locations

src/Query/Grammars/Grammar.php 2 locations

@@ 356-364 (lines=9) @@
353
    /**
354
     * {@inheritdoc}
355
     */
356
    protected function whereIn(Builder $query, $where)
357
    {
358
        if (! empty($where['values'])) {
359
            $column = $this->wrapColumn($where['column'], $query->from);
360
            return '['.implode(',', $where['values']).'] ANY == '.$column;
361
        }
362
363
        return '0 = 1';
364
    }
365
366
    /**
367
     * {@inheritdoc}
@@ 369-377 (lines=9) @@
366
    /**
367
     * {@inheritdoc}
368
     */
369
    protected function whereNotIn(Builder $query, $where)
370
    {
371
        if (! empty($where['values'])) {
372
            $column = $this->wrapColumn($where['table'],$where['column']);
373
            return '['.implode(",", $where['values']).'] NONE == '.$column;
374
        }
375
376
        return '0 = 1';
377
    }
378
379
    /**
380
     * {@inheritdoc}