@@ -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 | } |