Completed
Push — master ( acacdd...31e3b8 )
by Avtandil
26:05 queued 23:42
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);
@@ -102,28 +102,28 @@  discard block
 block discarded – undo
102 102
 
103 103
         $this->app->singleton(
104 104
             'command.multilang.migration',
105
-            function () {
105
+            function() {
106 106
                 return new MigrationCommand();
107 107
             }
108 108
         );
109 109
 
110 110
         $this->app->singleton(
111 111
             'command.multilang.texts',
112
-            function () {
112
+            function() {
113 113
                 return new TextsCommand();
114 114
             }
115 115
         );
116 116
 
117 117
         $this->app->singleton(
118 118
             'command.multilang.import',
119
-            function () {
119
+            function() {
120 120
                 return new ImportCommand();
121 121
             }
122 122
         );
123 123
 
124 124
         $this->app->singleton(
125 125
             'command.multilang.export',
126
-            function () {
126
+            function() {
127 127
                 return new ExportCommand();
128 128
             }
129 129
         );
Please login to merge, or discard this patch.