Passed
Branch master (fb36f1)
by Mihai
07:44
created
Category
src/Providers/TranslationServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.