Code Duplication    Length = 9-10 lines in 2 locations

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

@@ 6175-6184 (lines=10) @@
6172
                /** @var VersionState $versionState */
6173
                $versionState = VersionState::cast($row['t3ver_state']);
6174
                $tsfe->sys_page->versionOL('pages', $row);
6175
                if ((int)$row['doktype'] === PageRepository::DOKTYPE_RECYCLER
6176
                    || (int)$row['doktype'] === PageRepository::DOKTYPE_BE_USER_SECTION
6177
                    || $versionState->indicatesPlaceholder()
6178
                ) {
6179
                    // Doing this after the overlay to make sure changes
6180
                    // in the overlay are respected.
6181
                    // However, we do not process pages below of and
6182
                    // including of type recycler and BE user section
6183
                    continue;
6184
                }
6185
                // Find mount point if any:
6186
                $next_id = $row['uid'];
6187
                $mount_info = $tsfe->sys_page->getMountPointInfo($next_id, $row);
@@ 6213-6221 (lines=9) @@
6210
6211
                    $row = $queryBuilder->execute()->fetch();
6212
                    $tsfe->sys_page->versionOL('pages', $row);
6213
                    if ((int)$row['doktype'] === PageRepository::DOKTYPE_RECYCLER
6214
                        || (int)$row['doktype'] === PageRepository::DOKTYPE_BE_USER_SECTION
6215
                        || $versionState->indicatesPlaceholder()
6216
                    ) {
6217
                        // Doing this after the overlay to make sure
6218
                        // changes in the overlay are respected.
6219
                        // see above
6220
                        continue;
6221
                    }
6222
                }
6223
                // Add record:
6224
                if ($dontCheckEnableFields || $tsfe->checkPagerecordForIncludeSection($row)) {