Update src/Console/ConsoleServiceProvider.php

This commit is contained in:
Daniël Klabbers 2021-05-06 00:36:20 +02:00 committed by GitHub
parent bddfb5605d
commit 7708be2fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class ConsoleServiceProvider extends AbstractServiceProvider
$scheduled['callback']($event);
}
$this->container->make('flarum.locales')->getTranslator()->getCatalogue(
$container->make('flarum.locales')->getTranslator()->getCatalogue(
$container->make(SettingsRepositoryInterface::class)->get('default_locale', 'en')
);
}