@@ -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() |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use MabeEnumTest\TestAsset\EnumInheritance; |
7 | 7 | use MabeEnumTest\TestAsset\EnumAmbiguous; |
8 | 8 | use MabeEnumTest\TestAsset\EnumExtendedAmbiguous; |
9 | -use MabeEnumTest\TestAsset\ConstVisibility; |
|
10 | 9 | use PHPUnit_Framework_TestCase as TestCase; |
11 | 10 | use ReflectionClass; |
12 | 11 |