@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $lowerName = $this->getLowerName(); |
225 | 225 | |
226 | - $langPath = $this->getPath() . '/Resources/lang'; |
|
226 | + $langPath = $this->getPath().'/Resources/lang'; |
|
227 | 227 | |
228 | 228 | if (is_dir($langPath)) { |
229 | 229 | $this->loadTranslationsFrom($langPath, $lowerName); |
@@ -243,8 +243,8 @@ discard block |
||
243 | 243 | $file = 'module.json'; |
244 | 244 | } |
245 | 245 | |
246 | - return Arr::get($this->moduleJson, $file, function () use ($file) { |
|
247 | - return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->files); |
|
246 | + return Arr::get($this->moduleJson, $file, function() use ($file) { |
|
247 | + return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->files); |
|
248 | 248 | }); |
249 | 249 | } |
250 | 250 | |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | */ |
298 | 298 | protected function fireEvent($event): void |
299 | 299 | { |
300 | - $this->app['events']->dispatch(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]); |
|
300 | + $this->app['events']->dispatch(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]); |
|
301 | 301 | } |
302 | 302 | |
303 | 303 | /** |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | protected function registerFiles(): void |
324 | 324 | { |
325 | 325 | foreach ($this->get('files', []) as $file) { |
326 | - include $this->path . '/' . $file; |
|
326 | + include $this->path.'/'.$file; |
|
327 | 327 | } |
328 | 328 | } |
329 | 329 | |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | */ |
429 | 429 | public function getExtraPath(string $path): string |
430 | 430 | { |
431 | - return $this->getPath() . '/' . $path; |
|
431 | + return $this->getPath().'/'.$path; |
|
432 | 432 | } |
433 | 433 | |
434 | 434 | /** |