@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | protected function registerPolyglot() |
41 | 41 | { |
42 | - $this->app->singleton('translation.polyglot', static function ($app) { |
|
42 | + $this->app->singleton('translation.polyglot', static function($app) { |
|
43 | 43 | $defaultLocale = $app['config']['app.locale']; |
44 | 44 | $polyglotConfig = $app['config']['laravel-polyglot']['polyglot'] ?? []; |
45 | 45 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | protected function registerTranslator() |
69 | 69 | { |
70 | - $this->app->singleton('translator', static function ($app) { |
|
70 | + $this->app->singleton('translator', static function($app) { |
|
71 | 71 | $loader = $app['translation.loader']; |
72 | 72 | $polyglot = $app['translation.polyglot']; |
73 | 73 |