1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

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

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')
);
}