Completed
Pull Request — master (#1768)
by
unknown
07:49
created
src/Module.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.