Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2439-2443 (lines=5) @@
2436
      $continue = false;
2437
2438
      if ($delimiter == '-') {
2439
        foreach ($specialCases['names'] as $beginning) {
2440
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2441
            $continue = true;
2442
          }
2443
        }
2444
      }
2445
2446
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2446-2450 (lines=5) @@
2443
        }
2444
      }
2445
2446
      foreach ($specialCases['prefixes'] as $beginning) {
2447
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2448
          $continue = true;
2449
        }
2450
      }
2451
2452
      if ($continue) {
2453
        continue;