Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2463-2467 (lines=5) @@
2460
      $continue = false;
2461
2462
      if ($delimiter == '-') {
2463
        foreach ($specialCases['names'] as $beginning) {
2464
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2465
            $continue = true;
2466
          }
2467
        }
2468
      }
2469
2470
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2470-2474 (lines=5) @@
2467
        }
2468
      }
2469
2470
      foreach ($specialCases['prefixes'] as $beginning) {
2471
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2472
          $continue = true;
2473
        }
2474
      }
2475
2476
      if ($continue) {
2477
        continue;