@@ -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; |
@@ -68,7 +68,8 @@ |
||
68 | 68 | */ |
69 | 69 | private function virtualTypeHint(EnumValueDefinition $value, TypeHintNode $ast): TypeHint |
70 | 70 | { |
71 | - $virtual = new class($value->getDocument(), $value->getName()) extends TypeHint { |
|
71 | + $virtual = new class($value->getDocument(), $value->getName()) extends TypeHint |
|
72 | + { |
|
72 | 73 | /** |
73 | 74 | * @var string |
74 | 75 | */ |