Code Duplication    Length = 4-4 lines in 2 locations

htdocs/xoops_lib/Xoops/Core/Kernel/Criteria.php 1 location

@@ 180-183 (lines=4) @@
177
                break;
178
        }
179
180
        if ($this->limit!=0 || $this->start!=0) {
181
            $qb->setFirstResult($this->start)
182
                ->setMaxResults($this->limit);
183
        }
184
185
        if (!empty($this->groupBy)) {
186
            $qb->groupBy($this->groupBy);

htdocs/xoops_lib/Xoops/Core/Kernel/CriteriaCompo.php 1 location

@@ 178-181 (lines=4) @@
175
            }
176
        }
177
178
        if ($this->limit!=0 || $this->start!=0) {
179
            $qb->setFirstResult($this->start)
180
                ->setMaxResults($this->limit);
181
        }
182
183
        if (!empty($this->groupBy)) {
184
            $qb->groupBy($this->groupBy);