Skip to content

Commit

Permalink
Fixed style blank_line_before_statement (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Aug 14, 2023
1 parent 0a9bfee commit d23d1f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Slug.php
Expand Up @@ -711,6 +711,7 @@ public static function downCode(string $text, string $language = ''): string
if (self::$regex !== '' && self::seemsUTF8($text)) {
if (\preg_match_all(self::$regex, $text, $matches) > 0) {
$matchesCount = \count($matches[0]);

/** @noinspection ForeachInvariantsInspection */
for ($i = 0; $i < $matchesCount; $i++) {
$char = $matches[0][$i];
Expand Down

0 comments on commit d23d1f3

Please sign in to comment.