Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 6332-6334 (lines=3) @@
6329
        if (stripos($str, '@FILE') !== 0) {
6330
            return $str;
6331
        }
6332
        if (strpos($str, "\n") !== false) {
6333
            $str = substr($str, 0, strpos("\n", $str));
6334
        }
6335
6336
        if ($this->getExtFromFilename($str) === '.php') {
6337
            return 'Could not retrieve PHP file.';
@@ 6876-6878 (lines=3) @@
6873
        if (strpos($str, '@INCLUDE') !== 0) {
6874
            return $str;
6875
        }
6876
        if (strpos($str, "\n") !== false) {
6877
            $str = substr($str, 0, strpos("\n", $str));
6878
        }
6879
6880
        $str = substr($str, 9);
6881
        $str = trim($str);