Code Duplication    Length = 3-3 lines in 5 locations

src/Query/AbstractQuery.php 5 locations

@@ 131-133 (lines=3) @@
128
     */
129
    protected function checkParamSelect($params)
130
    {
131
        if (isset($params['select']) && is_array($params['select'])) {
132
            call_user_func_array([$this, 'cols'], $params['select']);
133
        }
134
    }
135
136
    /**
@@ 203-205 (lines=3) @@
200
     */
201
    protected function checkParamOrder($params)
202
    {
203
        if (isset($params['order']) && !empty($params['order'])) {
204
            call_user_func_array([$this, 'order'], $params['order']);
205
        }
206
    }
207
208
    /**
@@ 213-215 (lines=3) @@
210
     */
211
    protected function checkParamGroup($params)
212
    {
213
        if (isset($params['group']) && !empty($params['group'])) {
214
            call_user_func_array([$this, 'group'], [$params['group']]);
215
        }
216
    }
217
218
    /**
@@ 223-225 (lines=3) @@
220
     */
221
    protected function checkParamHaving($params)
222
    {
223
        if (isset($params['having']) && !empty($params['having'])) {
224
            call_user_func_array([$this, 'having'], [$params['having']]);
225
        }
226
    }
227
228
    /**
@@ 233-235 (lines=3) @@
230
     */
231
    protected function checkParamLimit($params)
232
    {
233
        if (isset($params['limit']) && !empty($params['limit'])) {
234
            call_user_func_array([$this, 'limit'], [$params['limit']]);
235
        }
236
    }
237
238
    /**