@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return null|ValueInterface|NodeInterface |
|
43 | + * @return ValueInterface|null |
|
44 | 44 | */ |
45 | 45 | public function getDefaultValue(): ?ValueInterface |
46 | 46 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @return iterable|ArgumentDefinitionNode[] |
|
42 | + * @return \Generator |
|
43 | 43 | */ |
44 | 44 | public function getArguments(): iterable |
45 | 45 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait FieldsProviders |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|FieldDefinitionNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getFields(): iterable |
23 | 23 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return iterable|DirectiveArgumentNode[] |
|
43 | + * @return \Generator |
|
44 | 44 | */ |
45 | 45 | public function getDirectiveArguments(): iterable |
46 | 46 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait ImplementationsProvider |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|TypeNameNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getImplementations(): iterable |
23 | 23 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | class DirectiveArgumentNode extends Rule |
23 | 23 | { |
24 | 24 | /** |
25 | - * @param DirectiveInvocationBuilder $parent |
|
25 | + * @param DirectiveInvocation $parent |
|
26 | 26 | * @return TypeInvocation|ArgumentInvocation |
27 | 27 | */ |
28 | 28 | public function getTypeInvocation(DirectiveInvocation $parent): TypeInvocation |
@@ -12,9 +12,7 @@ |
||
12 | 12 | use Railt\Parser\Ast\RuleInterface; |
13 | 13 | use Railt\Reflection\Contracts\Definition; |
14 | 14 | use Railt\Reflection\Definition\Dependent\ArgumentDefinition; |
15 | -use Railt\Reflection\Definition\Dependent\FieldDefinition; |
|
16 | 15 | use Railt\SDL\Compiler\Ast\Dependent\ArgumentDefinitionNode; |
17 | -use Railt\SDL\Compiler\Ast\Dependent\FieldDefinitionNode; |
|
18 | 16 | use Railt\SDL\Compiler\Builder\Builder; |
19 | 17 | |
20 | 18 | /** |