Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

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