Passed
Push — master ( 2f7c15...13e689 )
by Mickael
38s queued 11s
created
src/Package/Package.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
         } elseif (isset($this->autoload['psr-4'])) {
235 235
             $namespace = $this->autoload['psr-4'];
236 236
         }
237
-        return trim((string)key($namespace), '\\');
237
+        return trim((string) key($namespace), '\\');
238 238
     }
239 239
 
240 240
     /**
Please login to merge, or discard this patch.
src/Package/PackageCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             return $this->indexedBy['name'];
72 72
         }
73 73
         /** @var Package $package */
74
-        foreach($this->getArrayCopy() as $package) {
74
+        foreach ($this->getArrayCopy() as $package) {
75 75
             if (!$package instanceof Package) {
76 76
                 continue;
77 77
             }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             return $this->indexedBy['namespace'];
90 90
         }
91 91
         /** @var Package $package */
92
-        foreach($this->getArrayCopy() as $package) {
92
+        foreach ($this->getArrayCopy() as $package) {
93 93
             if (!($package instanceof Package)) {
94 94
                 continue;
95 95
             }
Please login to merge, or discard this patch.