Passed
Push — 1.x ( c822dd...c4ba0d )
by Ulises Jeremias
03:25
created
Mbh/Collection/Map.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     private function delete(int $position)
75 75
     {
76
-        $pair  = $this->pairs->remove($position);
76
+        $pair = $this->pairs->remove($position);
77 77
 
78 78
         $this->checkCapacity();
79 79
         return $pair->value;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function keys(): Set
154 154
     {
155
-        return new Set($this->pairs->map(function ($pair) {
155
+        return new Set($this->pairs->map(function($pair) {
156 156
             return $pair->key;
157 157
         }));
158 158
     }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      */
231 231
     public function pairs(): SequenceableInterface
232 232
     {
233
-        return $this->pairs->map(function ($pair) {
233
+        return $this->pairs->map(function($pair) {
234 234
             return $pair->copy();
235 235
         });
236 236
     }
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
      */
333 333
     public function values(): SequenceableInterface
334 334
     {
335
-        return $this->pairs->map(function ($pair) {
335
+        return $this->pairs->map(function($pair) {
336 336
             return $pair->value;
337 337
         });
338 338
     }
Please login to merge, or discard this patch.
Mbh/Collection/Stack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      */
157 157
     public function getIterator()
158 158
     {
159
-        while (! $this->isEmpty()) {
159
+        while (!$this->isEmpty()) {
160 160
             yield $this->pop();
161 161
         }
162 162
     }
Please login to merge, or discard this patch.