Code Duplication    Length = 5-5 lines in 2 locations

src/Stringy.php 2 locations

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