We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46df6c8 commit 57bc474Copy full SHA for 57bc474
Tests/Fixtures/TranslatableTextAlign.php
@@ -20,7 +20,7 @@ enum TranslatableTextAlign implements TranslatableInterface
20
case Center;
21
case Right;
22
23
- public function trans(TranslatorInterface $translator, string $locale = null): string
+ public function trans(TranslatorInterface $translator, ?string $locale = null): string
24
{
25
return $translator->trans($this->name, locale: $locale);
26
}
0 commit comments