Skip to content

Commit d10c056

Browse files
authored
refactor: Remove incorrect type from inflector (#332)
1 parent 599bdee commit d10c056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Logger/Inflector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class Inflector
2929
/**
3030
* @param positive-int|0 $count
3131
*/
32-
public static function pluralize(string $singular, int $count): ?string
32+
public static function pluralize(string $singular, int $count): string
3333
{
3434
Assert::keyExists(
3535
self::PLURAL_MAP,

0 commit comments

Comments
 (0)