@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | { |
178 | 178 | $lowerName = $this->getLowerName(); |
179 | 179 | |
180 | - $langPath = $this->getPath() . "/Resources/lang"; |
|
180 | + $langPath = $this->getPath()."/Resources/lang"; |
|
181 | 181 | |
182 | 182 | if (is_dir($langPath)) { |
183 | 183 | $this->loadTranslationsFrom($langPath, $lowerName); |
@@ -197,8 +197,8 @@ discard block |
||
197 | 197 | $file = 'module.json'; |
198 | 198 | } |
199 | 199 | |
200 | - return array_get($this->moduleJson, $file, function () use ($file) { |
|
201 | - return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->app['files']); |
|
200 | + return array_get($this->moduleJson, $file, function() use ($file) { |
|
201 | + return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->app['files']); |
|
202 | 202 | }); |
203 | 203 | } |
204 | 204 | |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | */ |
250 | 250 | protected function fireEvent($event) |
251 | 251 | { |
252 | - $this->app['events']->fire(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]); |
|
252 | + $this->app['events']->fire(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]); |
|
253 | 253 | } |
254 | 254 | |
255 | 255 | /** |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | protected function registerFiles() |
280 | 280 | { |
281 | 281 | foreach ($this->get('files', []) as $file) { |
282 | - include $this->path . '/' . $file; |
|
282 | + include $this->path.'/'.$file; |
|
283 | 283 | } |
284 | 284 | } |
285 | 285 | |
@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | */ |
401 | 401 | public function getExtraPath($path) |
402 | 402 | { |
403 | - return $this->getPath() . '/' . $path; |
|
403 | + return $this->getPath().'/'.$path; |
|
404 | 404 | } |
405 | 405 | |
406 | 406 | /** |
@@ -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); |