Completed
Push — master ( 6ca1e9...acacdd )
by Avtandil
28:11 queued 25:44
created
src/MultiLang/MultiLangServiceProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@  discard block
 block discarded – undo
49 49
         );
50 50
 
51 51
         // Register blade directives
52
-        Blade::directive('t', function ($expression) {
52
+        Blade::directive('t', function($expression) {
53 53
             return "<?php echo e(t({$expression})); ?>";
54 54
         });
55 55
 
56
-        $this->app['events']->listen(RouteMatched::class, function () {
56
+        $this->app['events']->listen(RouteMatched::class, function() {
57 57
             $scope = $this->app['config']->get('app.scope');
58 58
             if ($scope && $scope != 'global') {
59 59
                 $this->app['multilang']->setScope($scope);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $configPath = __DIR__ . '/../config/config.php';
75 75
         $this->mergeConfigFrom($configPath, 'debugbar');
76 76
 
77
-        $this->app->singleton('multilang', function ($app) {
77
+        $this->app->singleton('multilang', function($app) {
78 78
             $environment = $app->environment();
79 79
             $config      = $app['config']->get('multilang');
80 80
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             );
87 87
 
88 88
             if ($multilang->autoSaveIsAllowed()) {
89
-                $app->terminating(function () use ($multilang) {
89
+                $app->terminating(function() use ($multilang) {
90 90
                     $scope = $this->app['config']->get('app.scope');
91 91
                     if ($scope && $scope != 'global') {
92 92
                         $multilang->setScope($scope);
@@ -101,25 +101,25 @@  discard block
 block discarded – undo
101 101
         $this->app->alias('multilang', 'Longman\LaravelMultiLang\MultiLang');
102 102
 
103 103
         $this->app->singleton('command.multilang.migration',
104
-            function () {
104
+            function() {
105 105
                 return new MigrationCommand();
106 106
             }
107 107
         );
108 108
 
109 109
         $this->app->singleton('command.multilang.texts',
110
-            function () {
110
+            function() {
111 111
                 return new TextsCommand();
112 112
             }
113 113
         );
114 114
 
115 115
         $this->app->singleton('command.multilang.import',
116
-            function () {
116
+            function() {
117 117
                 return new ImportCommand();
118 118
             }
119 119
         );
120 120
 
121 121
         $this->app->singleton('command.multilang.export',
122
-            function () {
122
+            function() {
123 123
                 return new ExportCommand();
124 124
             }
125 125
         );
Please login to merge, or discard this patch.