Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 3025-3029 (lines=5) @@
3022
      $continue = false;
3023
3024
      if ($delimiter == '-') {
3025
        foreach ($specialCases['names'] as $beginning) {
3026
          if (UTF8::strpos($name, $beginning, 0, $encoding) === 0) {
3027
            $continue = true;
3028
          }
3029
        }
3030
      }
3031
3032
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 3032-3036 (lines=5) @@
3029
        }
3030
      }
3031
3032
      foreach ($specialCases['prefixes'] as $beginning) {
3033
        if (UTF8::strpos($name, $beginning, 0, $encoding) === 0) {
3034
          $continue = true;
3035
        }
3036
      }
3037
3038
      if ($continue) {
3039
        continue;