Completed
Pull Request — master (#1168)
by
unknown
01:40
created
src/Module.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     {
206 206
         $lowerName = $this->getLowerName();
207 207
 
208
-        $langPath = $this->getPath() . '/Resources/lang';
208
+        $langPath = $this->getPath().'/Resources/lang';
209 209
 
210 210
         if (is_dir($langPath)) {
211 211
             $this->loadTranslationsFrom($langPath, $lowerName);
@@ -225,8 +225,8 @@  discard block
 block discarded – undo
225 225
             $file = self::MODULE_JSON_FILE;
226 226
         }
227 227
 
228
-        return Arr::get($this->moduleJson, $file, function () use ($file) {
229
-            $path = $this->getPath() . DIRECTORY_SEPARATOR . $file;
228
+        return Arr::get($this->moduleJson, $file, function() use ($file) {
229
+            $path = $this->getPath().DIRECTORY_SEPARATOR.$file;
230 230
             return $this->moduleJson[$file] = new Json($path, $this->files);
231 231
         });
232 232
     }
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     protected function fireEvent($event): void
282 282
     {
283
-        $this->app['events']->dispatch(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]);
283
+        $this->app['events']->dispatch(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]);
284 284
     }
285 285
     /**
286 286
      * Register the aliases from this module.
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
     protected function registerFiles(): void
306 306
     {
307 307
         foreach ($this->get('files', []) as $file) {
308
-            include $this->path . '/' . $file;
308
+            include $this->path.'/'.$file;
309 309
         }
310 310
     }
311 311
 
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      */
411 411
     public function getExtraPath(string $path) : string
412 412
     {
413
-        return $this->getPath() . '/' . $path;
413
+        return $this->getPath().'/'.$path;
414 414
     }
415 415
 
416 416
     /**
Please login to merge, or discard this patch.