Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2394-2398 (lines=5) @@
2391
      $continue = false;
2392
2393
      if ($delimiter == '-') {
2394
        foreach ($specialCases['names'] as $beginning) {
2395
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2396
            $continue = true;
2397
          }
2398
        }
2399
      }
2400
2401
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2401-2405 (lines=5) @@
2398
        }
2399
      }
2400
2401
      foreach ($specialCases['prefixes'] as $beginning) {
2402
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2403
          $continue = true;
2404
        }
2405
      }
2406
2407
      if ($continue) {
2408
        continue;