Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2793-2797 (lines=5) @@
2790
      $continue = false;
2791
2792
      if ($delimiter == '-') {
2793
        foreach ($specialCases['names'] as $beginning) {
2794
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2795
            $continue = true;
2796
          }
2797
        }
2798
      }
2799
2800
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2800-2804 (lines=5) @@
2797
        }
2798
      }
2799
2800
      foreach ($specialCases['prefixes'] as $beginning) {
2801
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2802
          $continue = true;
2803
        }
2804
      }
2805
2806
      if ($continue) {
2807
        continue;