Completed
Push — master ( 2a1d46...9d502f )
by Nicolas
12:03
created
src/Module.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         parent::__construct($app);
50 50
         $this->name = $name;
51 51
         $this->path = realpath($path);
52
-        $this->moduleJson = new Json($this->getPath() . '/module.json', $this->app['files']);
52
+        $this->moduleJson = new Json($this->getPath().'/module.json', $this->app['files']);
53 53
     }
54 54
 
55 55
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     {
178 178
         $lowerName = $this->getLowerName();
179 179
 
180
-        $langPath = $this->getPath() . "/Resources/lang";
180
+        $langPath = $this->getPath()."/Resources/lang";
181 181
 
182 182
         if (is_dir($langPath)) {
183 183
             $this->loadTranslationsFrom($langPath, $lowerName);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
             return $this->moduleJson;
198 198
         }
199 199
 
200
-        return new Json($this->getPath() . '/' . $file, $this->app['files']);
200
+        return new Json($this->getPath().'/'.$file, $this->app['files']);
201 201
     }
202 202
 
203 203
     /**
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      */
248 248
     protected function fireEvent($event)
249 249
     {
250
-        $this->app['events']->fire(sprintf('modules.%s.' . $event, $this->getLowerName()), [$this]);
250
+        $this->app['events']->fire(sprintf('modules.%s.'.$event, $this->getLowerName()), [$this]);
251 251
     }
252 252
 
253 253
     /**
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
     protected function registerFiles()
278 278
     {
279 279
         foreach ($this->get('files', []) as $file) {
280
-            include $this->path . '/' . $file;
280
+            include $this->path.'/'.$file;
281 281
         }
282 282
     }
283 283
 
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
      */
399 399
     public function getExtraPath($path)
400 400
     {
401
-        return $this->getPath() . '/' . $path;
401
+        return $this->getPath().'/'.$path;
402 402
     }
403 403
 
404 404
     /**
Please login to merge, or discard this patch.
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function toArray()
26 26
     {
27
-        return array_map(function ($value) {
27
+        return array_map(function($value) {
28 28
             if ($value instanceof Module) {
29 29
                 return $value->moduleJson->getAttributes();
30 30
             }
Please login to merge, or discard this patch.