Completed
Push — master ( 48e288...c3a0f7 )
by Avtandil
03:18
created
src/MultiLang/MultiLangServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         );
44 44
 
45 45
         // Register blade directives
46
-        Blade::directive('t', function ($expression) {
46
+        Blade::directive('t', function($expression) {
47 47
             return "<?php echo e(t({$expression})); ?>";
48 48
         });
49 49
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $configPath = __DIR__ . '/../config/config.php';
60 60
         $this->mergeConfigFrom($configPath, 'debugbar');
61 61
 
62
-        $this->app->singleton('multilang', function ($app) {
62
+        $this->app->singleton('multilang', function($app) {
63 63
             $locale = $app->getLocale();
64 64
             $environment = $app->environment();
65 65
             $config = $app['config']->get('multilang');
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             $multilang->setLocale($locale);
75 75
 
76 76
             if ($multilang->autoSaveIsAllowed()) {
77
-                $app->terminating(function () use ($multilang) {
77
+                $app->terminating(function() use ($multilang) {
78 78
                     return $multilang->saveTexts();
79 79
                 });
80 80
             }
@@ -85,13 +85,13 @@  discard block
 block discarded – undo
85 85
         $this->app->alias('multilang', 'Longman\LaravelMultiLang\MultiLang');
86 86
 
87 87
         $this->app['command.multilang.migration'] = $this->app->share(
88
-            function () {
88
+            function() {
89 89
                 return new MigrationCommand();
90 90
             }
91 91
         );
92 92
 
93 93
         $this->app['command.multilang.texts'] = $this->app->share(
94
-            function () {
94
+            function() {
95 95
                 return new TextsCommand();
96 96
             }
97 97
         );
Please login to merge, or discard this patch.