@@ -265,7 +265,7 @@ |
||
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); |
@@ -307,7 +307,7 @@ |
||
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 |
@@ -89,7 +89,7 @@ |
||
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); |
@@ -94,7 +94,7 @@ |
||
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 |
@@ -172,7 +172,7 @@ |
||
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); |
@@ -132,7 +132,7 @@ |
||
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; |
@@ -125,7 +125,7 @@ |
||
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 | } |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * {@inheritdoc} |
142 | 142 | */ |
143 | - public function forEach(callable $consumer): void |
|
143 | + public function forEach (callable $consumer): void |
|
144 | 144 | { |
145 | 145 | $this->sortElements(); |
146 | 146 |
@@ -155,7 +155,7 @@ |
||
155 | 155 | /** |
156 | 156 | * {@inheritdoc} |
157 | 157 | */ |
158 | - public function forEach(callable $consumer): void |
|
158 | + public function forEach (callable $consumer): void |
|
159 | 159 | { |
160 | 160 | foreach ($this->data as $value) { |
161 | 161 | $consumer($value); |