@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -198,7 +198,7 @@ |
||
198 | 198 | /** |
199 | 199 | * {@inheritdoc} |
200 | 200 | */ |
201 | - public function foreach(\Closure $function): SequenceInterface |
|
201 | + public function foreach (\Closure $function): SequenceInterface |
|
202 | 202 | { |
203 | 203 | foreach ($this->values as $value) { |
204 | 204 | $function($value); |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * {@inheritdoc} |
268 | 268 | */ |
269 | - public function foreach(\Closure $function): MapInterface |
|
269 | + public function foreach (\Closure $function): MapInterface |
|
270 | 270 | { |
271 | 271 | foreach ($this->keys as $index => $key) { |
272 | 272 | $function($key, $this->values->get($index)); |
@@ -119,13 +119,13 @@ |
||
119 | 119 | */ |
120 | 120 | public function partition(\Closure $predicate): SequenceInterface; |
121 | 121 | |
122 | - /** |
|
123 | - * Concatenate all elements with the given separator |
|
124 | - * |
|
125 | - * @param string $separator |
|
126 | - * |
|
127 | - * @return StringPrimitive |
|
128 | - */ |
|
122 | + /** |
|
123 | + * Concatenate all elements with the given separator |
|
124 | + * |
|
125 | + * @param string $separator |
|
126 | + * |
|
127 | + * @return StringPrimitive |
|
128 | + */ |
|
129 | 129 | public function join(string $separator): StringPrimitive; |
130 | 130 | |
131 | 131 | /** |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return self |
77 | 77 | */ |
78 | - public function foreach(\Closure $function): self; |
|
78 | + public function foreach (\Closure $function): self; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Return a new map of pairs grouped by keys determined with the given |
@@ -185,7 +185,7 @@ |
||
185 | 185 | /** |
186 | 186 | * {@inheritdoc} |
187 | 187 | */ |
188 | - public function foreach(\Closure $function): SetInterface |
|
188 | + public function foreach (\Closure $function): SetInterface |
|
189 | 189 | { |
190 | 190 | $this->values->foreach($function); |
191 | 191 |