| @@ -4,13 +4,13 @@ | ||
| 4 | 4 | |
| 5 | 5 | namespace Spatie\Enum; | 
| 6 | 6 | |
| 7 | -use TypeError; | |
| 8 | -use ReflectionClass; | |
| 7 | +use BadMethodCallException; | |
| 9 | 8 | use JsonSerializable; | 
| 9 | +use ReflectionClass; | |
| 10 | 10 | use ReflectionMethod; | 
| 11 | -use BadMethodCallException; | |
| 12 | 11 | use Spatie\Enum\Exceptions\InvalidIndexException; | 
| 13 | 12 | use Spatie\Enum\Exceptions\InvalidValueException; | 
| 13 | +use TypeError; | |
| 14 | 14 | |
| 15 | 15 | abstract class Enum implements Enumerable, JsonSerializable | 
| 16 | 16 |  { |