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
    /**
@@ 204-206 (lines=3) @@
201
     */
202
    protected function checkParamOrder($params)
203
    {
204
        if (isset($params['order']) && !empty($params['order'])) {
205
            call_user_func_array([$this, 'order'], $params['order']);
206
        }
207
    }
208
209
    /**
@@ 214-216 (lines=3) @@
211
     */
212
    protected function checkParamGroup($params)
213
    {
214
        if (isset($params['group']) && !empty($params['group'])) {
215
            call_user_func_array([$this, 'group'], [$params['group']]);
216
        }
217
    }
218
219
    /**
@@ 224-226 (lines=3) @@
221
     */
222
    protected function checkParamHaving($params)
223
    {
224
        if (isset($params['having']) && !empty($params['having'])) {
225
            call_user_func_array([$this, 'having'], [$params['having']]);
226
        }
227
    }
228
229
    /**
@@ 234-236 (lines=3) @@
231
     */
232
    protected function checkParamLimit($params)
233
    {
234
        if (isset($params['limit']) && !empty($params['limit'])) {
235
            call_user_func_array([$this, 'limit'], [$params['limit']]);
236
        }
237
    }
238
239
    /**