Code Duplication    Length = 8-8 lines in 2 locations

src/vendor/symfony/polyfill-intl-normalizer/Normalizer.php 1 location

@@ 300-307 (lines=8) @@
297
        return $result;
298
    }
299
300
    private static function getData($file)
301
    {
302
        if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) {
303
            return require $file;
304
        }
305
306
        return false;
307
    }
308
}
309

src/vendor/symfony/polyfill-mbstring/Mbstring.php 1 location

@@ 816-823 (lines=8) @@
813
        return self::mb_convert_case($s[1], MB_CASE_UPPER, 'UTF-8').self::mb_convert_case($s[2], MB_CASE_LOWER, 'UTF-8');
814
    }
815
816
    private static function getData($file)
817
    {
818
        if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) {
819
            return require $file;
820
        }
821
822
        return false;
823
    }
824
825
    private static function getEncoding($encoding)
826
    {