Code Duplication    Length = 7-7 lines in 2 locations

web/ckfinder/core/connector/php/vendor/symfony/polyfill-mbstring/Mbstring.php 2 locations

@@ 434-440 (lines=7) @@
431
        return iconv_substr($s, $start, $length, $encoding).'';
432
    }
433
434
    public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null)
435
    {
436
        $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
437
        $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
438
439
        return self::mb_strpos($haystack, $needle, $offset, $encoding);
440
    }
441
442
    public static function mb_stristr($haystack, $needle, $part = false, $encoding = null)
443
    {
@@ 469-475 (lines=7) @@
466
        return self::getSubpart($pos, $part, $haystack, $encoding);
467
    }
468
469
    public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null)
470
    {
471
        $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
472
        $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
473
474
        return self::mb_strrpos($haystack, $needle, $offset, $encoding);
475
    }
476
477
    public static function mb_strstr($haystack, $needle, $part = false, $encoding = null)
478
    {