Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2499-2503 (lines=5) @@
2496
      $continue = false;
2497
2498
      if ($delimiter == '-') {
2499
        foreach ($specialCases['names'] as $beginning) {
2500
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2501
            $continue = true;
2502
          }
2503
        }
2504
      }
2505
2506
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2506-2510 (lines=5) @@
2503
        }
2504
      }
2505
2506
      foreach ($specialCases['prefixes'] as $beginning) {
2507
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2508
          $continue = true;
2509
        }
2510
      }
2511
2512
      if ($continue) {
2513
        continue;