Code Duplication    Length = 6-7 lines in 2 locations

typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 locations

@@ 6819-6824 (lines=6) @@
6816
            $queryParts['where'] = $expressionBuilder->andX(...$constraints);
6817
        }
6818
        // GROUP BY
6819
        if (trim($conf['groupBy'])) {
6820
            $groupBy = isset($conf['groupBy.'])
6821
                ? trim($this->stdWrap($conf['groupBy'], $conf['groupBy.']))
6822
                : trim($conf['groupBy']);
6823
            $queryParts['groupBy'] = QueryHelper::parseGroupBy($groupBy);
6824
        }
6825
6826
        // ORDER BY
6827
        if (trim($conf['orderBy'])) {
@@ 6827-6833 (lines=7) @@
6824
        }
6825
6826
        // ORDER BY
6827
        if (trim($conf['orderBy'])) {
6828
            $orderByString = isset($conf['orderBy.'])
6829
                ? trim($this->stdWrap($conf['orderBy'], $conf['orderBy.']))
6830
                : trim($conf['orderBy']);
6831
6832
            $queryParts['orderBy'] = QueryHelper::parseOrderBy($orderByString);
6833
        }
6834
6835
        // Return result:
6836
        return $queryParts;