@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | */ |
176 | 176 | public function getCached() |
177 | 177 | { |
178 | - return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function () { |
|
178 | + return $this->app['cache']->remember($this->config('cache.key'), $this->config('cache.lifetime'), function() { |
|
179 | 179 | return $this->toCollection()->toArray(); |
180 | 180 | }); |
181 | 181 | } |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | { |
264 | 264 | $modules = $this->enabled(); |
265 | 265 | |
266 | - uasort($modules, function (Module $a, Module $b) use ($direction) { |
|
266 | + uasort($modules, function(Module $a, Module $b) use ($direction) { |
|
267 | 267 | if ($a->order == $b->order) { |
268 | 268 | return 0; |
269 | 269 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | { |
34 | 34 | Stub::setBasePath(__DIR__.'/Commands/stubs'); |
35 | 35 | |
36 | - $this->app->booted(function ($app) { |
|
36 | + $this->app->booted(function($app) { |
|
37 | 37 | if ($app['modules']->config('stubs.enabled') === true) { |
38 | 38 | Stub::setBasePath($app['modules']->config('stubs.path')); |
39 | 39 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | */ |
53 | 53 | protected function registerServices() |
54 | 54 | { |
55 | - $this->app->singleton('modules', function ($app) { |
|
55 | + $this->app->singleton('modules', function($app) { |
|
56 | 56 | $path = $app['config']->get('modules.paths.modules'); |
57 | 57 | |
58 | 58 | return new Repository($app, $path); |