Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

@@ 2414-2418 (lines=5) @@
2411
      $continue = false;
2412
2413
      if ($delimiter == '-') {
2414
        foreach ($specialCases['names'] as $beginning) {
2415
          if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2416
            $continue = true;
2417
          }
2418
        }
2419
      }
2420
2421
      foreach ($specialCases['prefixes'] as $beginning) {
@@ 2421-2425 (lines=5) @@
2418
        }
2419
      }
2420
2421
      foreach ($specialCases['prefixes'] as $beginning) {
2422
        if (UTF8::strpos($name, $beginning, null, $encoding) === 0) {
2423
          $continue = true;
2424
        }
2425
      }
2426
2427
      if ($continue) {
2428
        continue;