| @@ -11,7 +11,6 @@ | ||
| 11 | 11 | |
| 12 | 12 | use Railt\Io\Readable; | 
| 13 | 13 | use Railt\Parser\Ast\RuleInterface; | 
| 14 | -use Railt\Parser\Exception\UnexpectedTokenException; | |
| 15 | 14 | use Railt\Parser\Exception\UnrecognizedTokenException; | 
| 16 | 15 | use Railt\Reflection\Contracts\Definition; | 
| 17 | 16 | use Railt\Reflection\Contracts\Dictionary; | 
| @@ -56,7 +56,8 @@ | ||
| 56 | 56 | */ | 
| 57 | 57 | private function virtualTypeHint(EnumValueDefinition $value, TypeHintNode $ast): TypeHint | 
| 58 | 58 |      { | 
| 59 | -        $virtual = new class($value->getDocument()) extends TypeHint { | |
| 59 | + $virtual = new class($value->getDocument()) extends TypeHint | |
| 60 | +        { | |
| 60 | 61 | public static function getType(): TypeInterface | 
| 61 | 62 |              { | 
| 62 | 63 | return Type::of(Type::ENUM_VALUE); |