Completed
Pull Request — master (#1160)
by
unknown
06:55
created
src/Module.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $lowerName = $this->getLowerName();
215 215
 
216
-        $langPath = $this->getPath() . '/Resources/lang';
216
+        $langPath = $this->getPath().'/Resources/lang';
217 217
 
218 218
         if (is_dir($langPath)) {
219 219
             $this->loadTranslationsFrom($langPath, $lowerName);
@@ -233,8 +233,8 @@  discard block
 block discarded – undo
233 233
             $file = 'module.json';
234 234
         }
235 235
 
236
-        return Arr::get($this->moduleJson, $file, function () use ($file) {
237
-            return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->files);
236
+        return Arr::get($this->moduleJson, $file, function() use ($file) {
237
+            return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->files);
238 238
         });
239 239
     }
240 240
 
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      */
288 288
     protected function fireEvent($event): void
289 289
     {
290
-        $this->app['events']->dispatch(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]);
290
+        $this->app['events']->dispatch(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]);
291 291
     }
292 292
 
293 293
     /**
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     protected function registerFiles(): void
314 314
     {
315 315
         foreach ($this->get('files', []) as $file) {
316
-            include $this->path . '/' . $file;
316
+            include $this->path.'/'.$file;
317 317
         }
318 318
     }
319 319
 
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
      */
419 419
     public function getExtraPath(string $path) : string
420 420
     {
421
-        return $this->getPath() . '/' . $path;
421
+        return $this->getPath().'/'.$path;
422 422
     }
423 423
 
424 424
     /**
Please login to merge, or discard this patch.