@@ -5,6 +5,9 @@ discard block |
||
5 | 5 | |
6 | 6 | interface MapInterface extends SizeableInterface, \Countable, \Iterator, \ArrayAccess |
7 | 7 | { |
8 | + /** |
|
9 | + * @return void |
|
10 | + */ |
|
8 | 11 | public function __construct(string $keyType, string $valueType); |
9 | 12 | |
10 | 13 | /** |
@@ -209,7 +212,7 @@ discard block |
||
209 | 212 | /** |
210 | 213 | * Reduce the map to a single value |
211 | 214 | * |
212 | - * @param mixed $carry |
|
215 | + * @param Map $carry |
|
213 | 216 | * @param callable $reducer |
214 | 217 | * |
215 | 218 | * @return mixed |
@@ -8,6 +8,9 @@ discard block |
||
8 | 8 | */ |
9 | 9 | interface SetInterface extends SizeableInterface, PrimitiveInterface, \Countable, \Iterator |
10 | 10 | { |
11 | + /** |
|
12 | + * @return void |
|
13 | + */ |
|
11 | 14 | public function __construct(string $type); |
12 | 15 | |
13 | 16 | /** |
@@ -149,7 +152,7 @@ discard block |
||
149 | 152 | /** |
150 | 153 | * Reduce the set to a single value |
151 | 154 | * |
152 | - * @param mixed $carry |
|
155 | + * @param Set $carry |
|
153 | 156 | * @param callable $reducer |
154 | 157 | * |
155 | 158 | * @return mixed |
@@ -329,7 +329,6 @@ |
||
329 | 329 | * |
330 | 330 | * @param string $regex |
331 | 331 | * @param int $limit |
332 | - * @param int $flags |
|
333 | 332 | * |
334 | 333 | * @return StreamInterface<self> |
335 | 334 | */ |