Code Duplication    Length = 7-7 lines in 2 locations

htdocs/class/libraries/vendor/symfony/polyfill-mbstring/Mbstring.php 2 locations

@@ 561-567 (lines=7) @@
558
        return (string) iconv_substr($s, $start, $length, $encoding);
559
    }
560
561
    public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null)
562
    {
563
        $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
564
        $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
565
566
        return self::mb_strpos($haystack, $needle, $offset, $encoding);
567
    }
568
569
    public static function mb_stristr($haystack, $needle, $part = false, $encoding = null)
570
    {
@@ 596-602 (lines=7) @@
593
        return self::getSubpart($pos, $part, $haystack, $encoding);
594
    }
595
596
    public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null)
597
    {
598
        $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding);
599
        $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding);
600
601
        return self::mb_strrpos($haystack, $needle, $offset, $encoding);
602
    }
603
604
    public static function mb_strstr($haystack, $needle, $part = false, $encoding = null)
605
    {