🔧
This commit is contained in:
2
vendor/symfony/translation/TranslatorBag.php
vendored
2
vendor/symfony/translation/TranslatorBag.php
vendored
@@ -35,7 +35,7 @@ final class TranslatorBag implements TranslatorBagInterface
|
||||
}
|
||||
}
|
||||
|
||||
public function getCatalogue(string $locale = null): MessageCatalogueInterface
|
||||
public function getCatalogue(?string $locale = null): MessageCatalogueInterface
|
||||
{
|
||||
if (null === $locale || !isset($this->catalogues[$locale])) {
|
||||
$this->catalogues[$locale] = new MessageCatalogue($locale);
|
||||
|
||||
Reference in New Issue
Block a user