@@ -38,18 +38,18 @@ discard block  | 
                                                    ||
| 38 | 38 | );  | 
                                                        
| 39 | 39 | |
| 40 | 40 | // Register blade directives  | 
                                                        
| 41 | -        $this->getBlade()->directive('t', static function ($expression) { | 
                                                        |
| 41 | +        $this->getBlade()->directive('t', static function($expression) { | 
                                                        |
| 42 | 42 |              return "<?php echo e(t({$expression})); ?>"; | 
                                                        
| 43 | 43 | });  | 
                                                        
| 44 | 44 | |
| 45 | -        $this->app['events']->listen(RouteMatched::class, function () { | 
                                                        |
| 45 | +        $this->app['events']->listen(RouteMatched::class, function() { | 
                                                        |
| 46 | 46 |              $scope = $this->app['config']->get('app.scope'); | 
                                                        
| 47 | 47 |              if ($scope && $scope !== 'global') { | 
                                                        
| 48 | 48 | $this->app['multilang']->setScope($scope);  | 
                                                        
| 49 | 49 | }  | 
                                                        
| 50 | 50 | });  | 
                                                        
| 51 | 51 | |
| 52 | -        $this->app['events']->listen(LocaleUpdated::class, function ($event) { | 
                                                        |
| 52 | +        $this->app['events']->listen(LocaleUpdated::class, function($event) { | 
                                                        |
| 53 | 53 | $this->app['multilang']->setLocale($event->locale);  | 
                                                        
| 54 | 54 | });  | 
                                                        
| 55 | 55 | |
@@ -66,7 +66,7 @@ discard block  | 
                                                    ||
| 66 | 66 | $configPath = __DIR__ . '/../config/config.php';  | 
                                                        
| 67 | 67 | $this->mergeConfigFrom($configPath, 'multilang');  | 
                                                        
| 68 | 68 | |
| 69 | -        $this->app->singleton('multilang', function ($app) { | 
                                                        |
| 69 | +        $this->app->singleton('multilang', function($app) { | 
                                                        |
| 70 | 70 | $environment = $app->environment();  | 
                                                        
| 71 | 71 |              $config = $app['config']->get('multilang'); | 
                                                        
| 72 | 72 | |
@@ -78,7 +78,7 @@ discard block  | 
                                                    ||
| 78 | 78 | );  | 
                                                        
| 79 | 79 | |
| 80 | 80 |              if ($multilang->autoSaveIsAllowed()) { | 
                                                        
| 81 | -                $app->terminating(function () use ($multilang) { | 
                                                        |
| 81 | +                $app->terminating(function() use ($multilang) { | 
                                                        |
| 82 | 82 |                      $scope = $this->app['config']->get('app.scope'); | 
                                                        
| 83 | 83 |                      if ($scope && $scope !== 'global') { | 
                                                        
| 84 | 84 | $multilang->setScope($scope);  | 
                                                        
@@ -95,28 +95,28 @@ discard block  | 
                                                    ||
| 95 | 95 | |
| 96 | 96 | $this->app->singleton(  | 
                                                        
| 97 | 97 | 'command.multilang.migration',  | 
                                                        
| 98 | -            static function () { | 
                                                        |
| 98 | +            static function() { | 
                                                        |
| 99 | 99 | return new MigrationCommand();  | 
                                                        
| 100 | 100 | },  | 
                                                        
| 101 | 101 | );  | 
                                                        
| 102 | 102 | |
| 103 | 103 | $this->app->singleton(  | 
                                                        
| 104 | 104 | 'command.multilang.texts',  | 
                                                        
| 105 | -            static function () { | 
                                                        |
| 105 | +            static function() { | 
                                                        |
| 106 | 106 | return new TextsCommand();  | 
                                                        
| 107 | 107 | },  | 
                                                        
| 108 | 108 | );  | 
                                                        
| 109 | 109 | |
| 110 | 110 | $this->app->singleton(  | 
                                                        
| 111 | 111 | 'command.multilang.import',  | 
                                                        
| 112 | -            static function () { | 
                                                        |
| 112 | +            static function() { | 
                                                        |
| 113 | 113 | return new ImportCommand();  | 
                                                        
| 114 | 114 | },  | 
                                                        
| 115 | 115 | );  | 
                                                        
| 116 | 116 | |
| 117 | 117 | $this->app->singleton(  | 
                                                        
| 118 | 118 | 'command.multilang.export',  | 
                                                        
| 119 | -            static function () { | 
                                                        |
| 119 | +            static function() { | 
                                                        |
| 120 | 120 | return new ExportCommand();  | 
                                                        
| 121 | 121 | },  | 
                                                        
| 122 | 122 | );  | 
                                                        
@@ -130,7 +130,7 @@ discard block  | 
                                                    ||
| 130 | 130 | ],  | 
                                                        
| 131 | 131 | );  | 
                                                        
| 132 | 132 | |
| 133 | -        $this->app->make('request')->macro('locale', static function () { | 
                                                        |
| 133 | +        $this->app->make('request')->macro('locale', static function() { | 
                                                        |
| 134 | 134 |              return app('multilang')->getLocale(); | 
                                                        
| 135 | 135 | });  | 
                                                        
| 136 | 136 | }  |