Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 6306-6308 (lines=3) @@
6303
        if (stripos($str, '@FILE') !== 0) {
6304
            return $str;
6305
        }
6306
        if (strpos($str, "\n") !== false) {
6307
            $str = substr($str, 0, strpos("\n", $str));
6308
        }
6309
6310
        if ($this->getExtFromFilename($str) === '.php') {
6311
            return 'Could not retrieve PHP file.';
@@ 6850-6852 (lines=3) @@
6847
        if (strpos($str, '@INCLUDE') !== 0) {
6848
            return $str;
6849
        }
6850
        if (strpos($str, "\n") !== false) {
6851
            $str = substr($str, 0, strpos("\n", $str));
6852
        }
6853
6854
        $str = substr($str, 9);
6855
        $str = trim($str);