@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | -use RuntimeException; |
|
| 6 | 5 | use LogicException; |
| 6 | +use RuntimeException; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Trait to make enumerations serializable |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace MabeEnum; |
| 4 | 4 | |
| 5 | 5 | use Countable; |
| 6 | -use Iterator; |
|
| 7 | 6 | use InvalidArgumentException; |
| 7 | +use Iterator; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * A set of enumerators of the given enumeration (EnumSet<T>) |
@@ -161,7 +161,6 @@ |
||
| 161 | 161 | /** |
| 162 | 162 | * Attach a new enumerator or overwrite an existing one |
| 163 | 163 | * @param Enum|null|boolean|int|float|string $enumerator |
| 164 | - * @param mixed $data |
|
| 165 | 164 | * @return void |
| 166 | 165 | * @throws InvalidArgumentException On an invalid given enumerator |
| 167 | 166 | * @see attach() |