@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | { |
204 | 204 | $lowerName = $this->getLowerName(); |
205 | 205 | |
206 | - $langPath = $this->getPath() . '/Resources/lang'; |
|
206 | + $langPath = $this->getPath().'/Resources/lang'; |
|
207 | 207 | |
208 | 208 | if (is_dir($langPath)) { |
209 | 209 | $this->loadTranslationsFrom($langPath, $lowerName); |
@@ -223,8 +223,8 @@ discard block |
||
223 | 223 | $file = 'module.json'; |
224 | 224 | } |
225 | 225 | |
226 | - return Arr::get($this->moduleJson, $file, function () use ($file) { |
|
227 | - return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->files); |
|
226 | + return Arr::get($this->moduleJson, $file, function() use ($file) { |
|
227 | + return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->files); |
|
228 | 228 | }); |
229 | 229 | } |
230 | 230 | |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | protected function fireEvent($event): void |
279 | 279 | { |
280 | 280 | $this->app['events']->dispatch(sprintf( |
281 | - '%s%s.' . $event, |
|
281 | + '%s%s.'.$event, |
|
282 | 282 | config('modules.events.prefix', 'modules.'), |
283 | 283 | $this->getLowerName() |
284 | 284 | ), [$this]); |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | protected function registerFiles(): void |
307 | 307 | { |
308 | 308 | foreach ($this->get('files', []) as $file) { |
309 | - include $this->path . '/' . $file; |
|
309 | + include $this->path.'/'.$file; |
|
310 | 310 | } |
311 | 311 | } |
312 | 312 | |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | */ |
412 | 412 | public function getExtraPath(string $path) : string |
413 | 413 | { |
414 | - return $this->getPath() . '/' . $path; |
|
414 | + return $this->getPath().'/'.$path; |
|
415 | 415 | } |
416 | 416 | |
417 | 417 | /** |