Code Duplication    Length = 5-5 lines in 2 locations

typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 1 location

@@ 2299-2303 (lines=5) @@
2296
                    $this->altPageTitle = $row['pageTitleInfo']['altPageTitle'];
2297
                    $this->indexedDocTitle = $row['pageTitleInfo']['indexedDocTitle'];
2298
2299
                    if (isset($this->config['config']['debug'])) {
2300
                        $debugCacheTime = (bool)$this->config['config']['debug'];
2301
                    } else {
2302
                        $debugCacheTime = !empty($GLOBALS['TYPO3_CONF_VARS']['FE']['debug']);
2303
                    }
2304
                    if ($debugCacheTime) {
2305
                        $dateFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'];
2306
                        $timeFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'];

typo3/sysext/frontend/Classes/Http/RequestHandler.php 1 location

@@ 237-241 (lines=5) @@
234
        // Statistics
235
        $GLOBALS['TYPO3_MISC']['microtime_end'] = microtime(true);
236
        if ($sendTSFEContent) {
237
            if (isset($this->controller->config['config']['debug'])) {
238
                $includeParseTime = (bool)$this->controller->config['config']['debug'];
239
            } else {
240
                $includeParseTime = !empty($GLOBALS['TYPO3_CONF_VARS']['FE']['debug']);
241
            }
242
            if ($includeParseTime) {
243
                $response = $response->withHeader('X-TYPO3-Parsetime', $this->timeTracker->getParseTime() . 'ms');
244
            }