Code Duplication    Length = 4-4 lines in 2 locations

typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 2 locations

@@ 3510-3513 (lines=4) @@
3507
    public function processOutput()
3508
    {
3509
        // Set header for charset-encoding unless disabled
3510
        if (empty($this->config['config']['disableCharsetHeader'])) {
3511
            $headLine = 'Content-Type: ' . $this->contentType . '; charset=' . trim($this->metaCharset);
3512
            header($headLine);
3513
        }
3514
        // Set header for content language unless disabled
3515
        if (empty($this->config['config']['disableLanguageHeader']) && !empty($this->sys_language_isocode)) {
3516
            $headLine = 'Content-Language: ' . trim($this->sys_language_isocode);
@@ 3515-3518 (lines=4) @@
3512
            header($headLine);
3513
        }
3514
        // Set header for content language unless disabled
3515
        if (empty($this->config['config']['disableLanguageHeader']) && !empty($this->sys_language_isocode)) {
3516
            $headLine = 'Content-Language: ' . trim($this->sys_language_isocode);
3517
            header($headLine);
3518
        }
3519
        // Set cache related headers to client (used to enable proxy / client caching!)
3520
        if (!empty($this->config['config']['sendCacheHeaders'])) {
3521
            $this->sendCacheHeaders();