@@ -11,8 +11,6 @@ discard block |
||
11 | 11 | |
12 | 12 | use Railt\Io\Readable; |
13 | 13 | use Railt\Parser\Ast\RuleInterface; |
14 | -use Railt\Parser\Environment; |
|
15 | -use Railt\Parser\Exception\UnexpectedTokenException; |
|
16 | 14 | use Railt\Parser\Exception\UnrecognizedTokenException; |
17 | 15 | use Railt\Reflection\Contracts\Definition; |
18 | 16 | use Railt\Reflection\Contracts\Dictionary; |
@@ -22,7 +20,6 @@ discard block |
||
22 | 20 | use Railt\Reflection\Document; |
23 | 21 | use Railt\Reflection\Reflection; |
24 | 22 | use Railt\SDL\Compiler\Parser; |
25 | -use Railt\SDL\Compiler\Pipeline; |
|
26 | 23 | use Railt\SDL\Compiler\Factory; |
27 | 24 | use Railt\SDL\Exception\CompilerException; |
28 | 25 | use Railt\SDL\Exception\SyntaxException; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Railt\Reflection\Contracts\Definition\TypeDefinition; |
17 | 17 | use Railt\Reflection\Contracts\Document; |
18 | 18 | use Railt\SDL\Compiler\Ast\TypeNameNode; |
19 | -use Railt\SDL\Compiler\Ast\Value\ValueInterface; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Class TypeDefinitionNode |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | class InputValueNode extends Rule implements ValueInterface, CompositeValueInterface |
19 | 19 | { |
20 | 20 | /** |
21 | - * @return iterable |
|
21 | + * @return \Generator |
|
22 | 22 | */ |
23 | 23 | public function toPrimitive(): iterable |
24 | 24 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * @return iterable|ValueInterface[] |
|
31 | + * @return \Generator |
|
32 | 32 | */ |
33 | 33 | public function getValues(): iterable |
34 | 34 | { |