@@ -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 | /** |
@@ -88,7 +91,7 @@ discard block |
||
88 | 91 | /** |
89 | 92 | * Filter the map based on the given predicate |
90 | 93 | * |
91 | - * @param Closure $predicate |
|
94 | + * @param \Closure $predicate |
|
92 | 95 | * |
93 | 96 | * @return self |
94 | 97 | */ |
@@ -97,7 +100,7 @@ discard block |
||
97 | 100 | /** |
98 | 101 | * Run the given function for each element of the map |
99 | 102 | * |
100 | - * @param Closure $function |
|
103 | + * @param \Closure $function |
|
101 | 104 | * |
102 | 105 | * @return self |
103 | 106 | */ |
@@ -107,7 +110,7 @@ discard block |
||
107 | 110 | * Return a new map of pairs' sequences grouped by keys determined with the given |
108 | 111 | * discriminator function |
109 | 112 | * |
110 | - * @param Closure $discriminator |
|
113 | + * @param \Closure $discriminator |
|
111 | 114 | * |
112 | 115 | * @return self |
113 | 116 | */ |
@@ -146,7 +149,7 @@ discard block |
||
146 | 149 | * |
147 | 150 | * Keys can't be modified |
148 | 151 | * |
149 | - * @param Closure $function |
|
152 | + * @param \Closure $function |
|
150 | 153 | * |
151 | 154 | * @return self |
152 | 155 | */ |
@@ -8,6 +8,9 @@ |
||
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 | /** |