Passed
Push — 1.x ( a81357...387986 )
by Ulises Jeremias
02:45
created
Mbh/Collection/Map.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function keys(): Set
125 125
     {
126
-        return new Set($this->pairs->map(function ($pair) {
126
+        return new Set($this->pairs->map(function($pair) {
127 127
             return $pair->key;
128 128
         }));
129 129
     }
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      */
185 185
     public function pairs(): SequenceableInterface
186 186
     {
187
-        return $this->pairs->map(function ($pair) {
187
+        return $this->pairs->map(function($pair) {
188 188
             return $pair->copy();
189 189
         });
190 190
     }
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     public function values(): SequenceableInterface
229 229
     {
230
-        return $this->pairs->map(function ($pair) {
230
+        return $this->pairs->map(function($pair) {
231 231
             return $pair->value;
232 232
         });
233 233
     }
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.
Mbh/Collection/ImmutableArray.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 class ImmutableArray extends FixedArray
27 27
 {
28 28
     /**
29
-    * @inheritDoc
30
-    */
29
+     * @inheritDoc
30
+     */
31 31
     public function clear()
32 32
     {
33 33
         throw ImmutableException::cannotModify(__CLASS__, __METHOD__);
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
     }
83 83
 
84 84
     /**
85
-    * @inheritDoc
86
-    */
85
+     * @inheritDoc
86
+     */
87 87
     public function set(int $index, $value)
88 88
     {
89 89
         throw ImmutableException::cannotModify(__CLASS__, __METHOD__);
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-    * @inheritDoc
102
-    */
101
+     * @inheritDoc
102
+     */
103 103
     public function sort(callable $callback = null): SequenceableInterface
104 104
     {
105 105
         throw ImmutableException::cannotModify(__CLASS__, __METHOD__);
Please login to merge, or discard this patch.