Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2887-2891 (lines=5) @@
2884
      $continue = false;
2885
2886
      if ($delimiter == '-') {
2887
        foreach ($specialCases['names'] as $beginning) {
2888
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2889
            $continue = true;
2890
          }
2891
        }
2892
      }
2893
2894
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2894-2898 (lines=5) @@
2891
        }
2892
      }
2893
2894
      foreach ($specialCases['prefixes'] as $beginning) {
2895
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2896
          $continue = true;
2897
        }
2898
      }
2899
2900
      if ($continue) {
2901
        continue;