@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | /** |
159 | 159 | * Attach a new enumerator or overwrite an existing one |
160 | 160 | * @param Enum|null|boolean|int|float|string $enumerator |
161 | - * @param mixed $data |
|
161 | + * @param string $data |
|
162 | 162 | * @return void |
163 | 163 | * @throws InvalidArgumentException On an invalid given enumerator |
164 | 164 | */ |
@@ -234,8 +234,8 @@ discard block |
||
234 | 234 | |
235 | 235 | /** |
236 | 236 | * Attach a new enumerator or overwrite an existing one |
237 | - * @param Enum|null|boolean|int|float|string $enumerator |
|
238 | - * @param mixed $data |
|
237 | + * @param \MabeEnumTest\TestAsset\EnumInheritance $enumerator |
|
238 | + * @param string $data |
|
239 | 239 | * @return void |
240 | 240 | * @throws InvalidArgumentException On an invalid given enumerator |
241 | 241 | * @see attach() |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * Produce a new set with enumerators from both this and other (this | other) |
230 | 230 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
231 | - * @return EnumSet |
|
231 | + * @return AbstractEnumSet |
|
232 | 232 | */ |
233 | 233 | public function union(EnumSet $other) |
234 | 234 | { |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | /** |
254 | 254 | * Produce a new set with enumerators common to both this and other (this & other) |
255 | 255 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
256 | - * @return EnumSet |
|
256 | + * @return AbstractEnumSet |
|
257 | 257 | */ |
258 | 258 | public function intersect(EnumSet $other) |
259 | 259 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * Produce a new set with enumerators in this but not in other (this - other) |
280 | 280 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
281 | - * @return EnumSet |
|
281 | + * @return AbstractEnumSet |
|
282 | 282 | */ |
283 | 283 | public function diff(EnumSet $other) |
284 | 284 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | /** |
304 | 304 | * Produce a new set with enumerators in either this and other but not in both (this ^ (other | other)) |
305 | 305 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
306 | - * @return EnumSet |
|
306 | + * @return AbstractEnumSet |
|
307 | 307 | */ |
308 | 308 | public function symDiff(EnumSet $other) |
309 | 309 | { |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | /** |
211 | 211 | * Produce a new set with enumerators from both this and other (this | other) |
212 | 212 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
213 | - * @return EnumSet |
|
213 | + * @return BinaryEnumSet |
|
214 | 214 | */ |
215 | 215 | public function union(EnumSet $other) |
216 | 216 | { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | /** |
236 | 236 | * Produce a new set with enumerators common to both this and other (this & other) |
237 | 237 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
238 | - * @return EnumSet |
|
238 | + * @return BinaryEnumSet |
|
239 | 239 | */ |
240 | 240 | public function intersect(EnumSet $other) |
241 | 241 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Produce a new set with enumerators in this but not in other (this - other) |
262 | 262 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
263 | - * @return EnumSet |
|
263 | + * @return BinaryEnumSet |
|
264 | 264 | */ |
265 | 265 | public function diff(EnumSet $other) |
266 | 266 | { |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | /** |
286 | 286 | * Produce a new set with enumerators in either this and other but not in both (this ^ (other | other)) |
287 | 287 | * @param EnumSet ...$other Other EnumSet(s) of the same enumeration to produce the union |
288 | - * @return EnumSet |
|
288 | + * @return BinaryEnumSet |
|
289 | 289 | */ |
290 | 290 | public function symDiff(EnumSet $other) |
291 | 291 | { |