Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2506-2510 (lines=5) @@
2503
      $continue = false;
2504
2505
      if ($delimiter == '-') {
2506
        foreach ($specialCases['names'] as $beginning) {
2507
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2508
            $continue = true;
2509
          }
2510
        }
2511
      }
2512
2513
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2513-2517 (lines=5) @@
2510
        }
2511
      }
2512
2513
      foreach ($specialCases['prefixes'] as $beginning) {
2514
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2515
          $continue = true;
2516
        }
2517
      }
2518
2519
      if ($continue) {
2520
        continue;