Skip to content

Commit c95ad24

Browse files
committed
Ignore phpstan false positive
1 parent ceb835f commit c95ad24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Normalizer/SlugNormalizer.php

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function normalize(string $text, array $context = []): string
5151
$slug = \mb_substr($slug, 0, $length, 'UTF-8');
5252
}
5353

54+
// @phpstan-ignore-next-line Because it thinks mb_substr() returns false on PHP 7.4
5455
return $slug;
5556
}
5657
}

0 commit comments

Comments
 (0)