Code Duplication    Length = 8-8 lines in 2 locations

src/mvc/models/Query.php 2 locations

@@ 94-101 (lines=8) @@
91
    /**
92
     * @inheritdoc
93
     */
94
    public function addIn($column, $params, $operand = 'AND')
95
    {
96
        if (is_array($params)) {
97
            $params = "'".implode('\',\'', $params).'\'';
98
        }
99
100
        $this->addWhere($column.' IN ('.$params.')', $operand);
101
    }
102
103
    /**
104
     * @inheritdoc
@@ 106-113 (lines=8) @@
103
    /**
104
     * @inheritdoc
105
     */
106
    public function addNotIn($column, $params, $operand = 'AND')
107
    {
108
        if (is_array($params)) {
109
            $params = "'".implode('\',\'', $params).'\'';
110
        }
111
112
        $this->addWhere($column.' NOT IN ('.$params.')', $operand);
113
    }
114
115
    /**
116
     * @inheritdoc