Test Setup Failed
Branch master (06751e)
by Sébastien
03:28
created
Category
src/ArrayCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
     /**
266 266
      * {@inheritdoc}
267 267
      */
268
-    public function forEach(callable $consumer): void
268
+    public function forEach (callable $consumer): void
269 269
     {
270 270
         foreach ($this->data as $key => $value) {
271 271
             $consumer($value, $key);
Please login to merge, or discard this patch.
src/TableInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * });
87 87
      * </code>
88 88
      */
89
-    public function forEach(callable $consumer): void;
89
+    public function forEach (callable $consumer): void;
90 90
 
91 91
     /**
92 92
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Stream/StreamInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
      *
308 308
      * @see ConsumerInterface
309 309
      */
310
-    public function forEach(callable $consumer): void;
310
+    public function forEach (callable $consumer): void;
311 311
 
312 312
     /**
313 313
      * Aggregate the stream to an array
Please login to merge, or discard this patch.
src/Stream/SortStream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 } else {
75 75
                     usort($this->data, $this->comparator);
76 76
                 }
77
-            } elseif($preserveKeys) {
77
+            } elseif ($preserveKeys) {
78 78
                 asort($this->data);
79 79
             } else {
80 80
                 sort($this->data);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * {@inheritdoc}
89 89
      */
90
-    public function forEach(callable $consumer): void
90
+    public function forEach (callable $consumer): void
91 91
     {
92 92
         foreach ($this->toArray() as $k => $v) {
93 93
             $consumer($v, $k);
Please login to merge, or discard this patch.
src/Stream/StreamTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * @see StreamInterface::forEach()
91 91
      */
92
-    public function forEach(callable $consumer): void
92
+    public function forEach (callable $consumer): void
93 93
     {
94 94
         foreach ($this as $key => $value) {
95 95
             $consumer($value, $key);
Please login to merge, or discard this patch.
src/Stream/EmptyStream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * {@inheritdoc}
96 96
      */
97
-    public function forEach(callable $consumer): void
97
+    public function forEach (callable $consumer): void
98 98
     {
99 99
     }
100 100
 
Please login to merge, or discard this patch.
src/Stream/MutableArrayStream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
     /**
173 173
      * {@inheritdoc}
174 174
      */
175
-    public function forEach(callable $consumer): void
175
+    public function forEach (callable $consumer): void
176 176
     {
177 177
         foreach ($this->data as $k => $v) {
178 178
             $consumer($v, $k);
Please login to merge, or discard this patch.
src/Stream/SingletonStream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
     /**
133 133
      * {@inheritdoc}
134 134
      */
135
-    public function forEach(callable $consumer): void
135
+    public function forEach (callable $consumer): void
136 136
     {
137 137
         $consumer($this->value, $this->key);
138 138
         $this->closed = true;
Please login to merge, or discard this patch.
src/Util/Extension/CollectionDelegationTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     /**
126 126
      * @see CollectionInterface::forEach()
127 127
      */
128
-    public function forEach(callable $consumer): void
128
+    public function forEach (callable $consumer): void
129 129
     {
130 130
         $this->collection->forEach($consumer);
131 131
     }
Please login to merge, or discard this patch.