Completed
Push — master ( 58bdf1...d2aa29 )
by Nicolas
10s
created
src/Module.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     {
191 191
         $lowerName = $this->getLowerName();
192 192
 
193
-        $langPath = $this->getPath() . '/Resources/lang';
193
+        $langPath = $this->getPath().'/Resources/lang';
194 194
 
195 195
         if (is_dir($langPath)) {
196 196
             $this->loadTranslationsFrom($langPath, $lowerName);
@@ -210,8 +210,8 @@  discard block
 block discarded – undo
210 210
             $file = 'module.json';
211 211
         }
212 212
 
213
-        return array_get($this->moduleJson, $file, function () use ($file) {
214
-            return $this->moduleJson[$file] = new Json($this->getPath() . '/' . $file, $this->app['files']);
213
+        return array_get($this->moduleJson, $file, function() use ($file) {
214
+            return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->app['files']);
215 215
         });
216 216
     }
217 217
 
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     protected function fireEvent($event)
266 266
     {
267
-        $this->app['events']->dispatch(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]);
267
+        $this->app['events']->dispatch(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]);
268 268
     }
269 269
     /**
270 270
      * Register the aliases from this module.
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     protected function registerFiles()
290 290
     {
291 291
         foreach ($this->get('files', []) as $file) {
292
-            include $this->path . '/' . $file;
292
+            include $this->path.'/'.$file;
293 293
         }
294 294
     }
295 295
 
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
      */
391 391
     public function getExtraPath(string $path) : string
392 392
     {
393
-        return $this->getPath() . '/' . $path;
393
+        return $this->getPath().'/'.$path;
394 394
     }
395 395
 
396 396
     /**
Please login to merge, or discard this patch.