Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Mar 23, 2024
1 parent 9c3ba7e commit 1363a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/AppExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function getFunctions(): ?array
/**
* @url https://github.com/TomodomoCo/twig-pluralize-extension/blob/master/src/Pluralize.php
*/
public function getPluralizedString(int $count, string $one, string $many, string $none = null): string
public function getPluralizedString(int $count, string $one, string $many, ?string $none = null): string
{
// If the option for $none is null, use the option for $many
$none = $none ?? $many;
Expand Down

0 comments on commit 1363a6e

Please sign in to comment.