diff --git a/src/Console/ConsoleServiceProvider.php b/src/Console/ConsoleServiceProvider.php index e043c26b5..2fa029c79 100644 --- a/src/Console/ConsoleServiceProvider.php +++ b/src/Console/ConsoleServiceProvider.php @@ -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') ); }