@@ -8,6 +8,7 @@ discard block |
||
8 | 8 | /** |
9 | 9 | * @param string $keyType Type T |
10 | 10 | * @param string $valueType Type S |
11 | + * @return void |
|
11 | 12 | */ |
12 | 13 | public function __construct(string $keyType, string $valueType); |
13 | 14 | |
@@ -163,7 +164,7 @@ discard block |
||
163 | 164 | /** |
164 | 165 | * Reduce the map to a single value |
165 | 166 | * |
166 | - * @param mixed $carry |
|
167 | + * @param Map $carry |
|
167 | 168 | * @param callable $reducer |
168 | 169 | * |
169 | 170 | * @return mixed |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * |
88 | 88 | * @return self<T, S> |
89 | 89 | */ |
90 | - public function foreach(callable $function): self; |
|
90 | + public function foreach (callable $function): self; |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Return a new map of pairs' sequences grouped by keys determined with the given |
@@ -10,6 +10,7 @@ |
||
10 | 10 | { |
11 | 11 | /** |
12 | 12 | * @param string $type Type T |
13 | + * @return void |
|
13 | 14 | */ |
14 | 15 | public function __construct(string $type); |
15 | 16 |
@@ -210,7 +210,7 @@ |
||
210 | 210 | /** |
211 | 211 | * Append the given stream to the current one |
212 | 212 | * |
213 | - * @param self $stream |
|
213 | + * @param Sequence $stream |
|
214 | 214 | * |
215 | 215 | * @return self<T> |
216 | 216 | */ |