Code Duplication    Length = 3-3 lines in 3 locations

system/modules/Ui/objects/DataManager.php 3 locations

@@ 255-257 (lines=3) @@
252
            $queryParams['limit'] = $this->limit;
253
            $queryParams['start'] = $this->page * $this->limit - $this->limit;
254
        }
255
        if (!empty($params['categoryPath']) && $modelName::$categoryModel) {
256
            $queryParams['where'][] = ['tree_path', $params['categoryPath'] . '%', 'LIKE'];
257
        }
258
        if (!empty($params['appType'])) {
259
            $queryParams['appType'] = $params['appType'];
260
        }
@@ 422-424 (lines=3) @@
419
        }
420
        $modelName = $this->modelName;
421
        $queryParams = [];
422
        if (!empty($params['categoryPath']) && $modelName::$categoryModel) {
423
            $queryParams['where'][] = ['tree_path', $params['categoryPath'] . '%', 'LIKE'];
424
        }
425
        if (!empty($params['appType'])) {
426
            $queryParams['appType'] = $params['appType'];
427
        }
@@ 713-715 (lines=3) @@
710
            'count' => true
711
        ];
712
        $modelName = $this->modelName;
713
        if (!empty($params['categoryPath']) && $modelName::$categoryModel) {
714
            $queryParams['where'][] = ['tree_path', $params['categoryPath'] . '%', 'LIKE'];
715
        }
716
        if (!empty($this->managerOptions['userGroupFilter'][\Users\User::$cur->group_id]['getRows'])) {
717
            foreach ($this->managerOptions['userGroupFilter'][\Users\User::$cur->group_id]['getRows'] as $colName => $colOptions) {
718
                if (!empty($colOptions['userCol'])) {