@@ -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 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait DirectivesProvider |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|DirectiveNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getDirectives(): iterable |
23 | 23 | { |
@@ -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 | { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | abstract class TypeDefinitionProcessor extends BaseProcessor |
26 | 26 | { |
27 | 27 | /** |
28 | - * @param RuleInterface|DescriptionProvider $ast |
|
28 | + * @param RuleInterface $ast |
|
29 | 29 | * @param TypeDefinition|AbstractTypeDefinition $definition |
30 | 30 | */ |
31 | 31 | protected function processDefinition(RuleInterface $ast, TypeDefinition $definition): void |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param RuleInterface|DirectivesProvider $ast |
|
42 | + * @param RuleInterface $ast |
|
43 | 43 | * @param TypeDefinition|AbstractTypeDefinition $definition |
44 | 44 | */ |
45 | 45 | protected function processDirectives(RuleInterface $ast, TypeDefinition $definition): void |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |