@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @param RuleInterface|NodeInterface $rule |
|
55 | + * @param null|NodeInterface $rule |
|
56 | 56 | * @return \Generator |
57 | 57 | */ |
58 | 58 | private function analyze(RuleInterface $rule): \Generator |
@@ -18,7 +18,7 @@ |
||
18 | 18 | trait ArgumentNodesProvider |
19 | 19 | { |
20 | 20 | /** |
21 | - * @return iterable|ArgumentDefinitionNode[] |
|
21 | + * @return \Generator |
|
22 | 22 | */ |
23 | 23 | public function getArgumentNodes(): iterable |
24 | 24 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait FieldNodesProvider |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|FieldDefinitionNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getFieldNodes(): iterable |
23 | 23 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | trait InterfacesProvider |
16 | 16 | { |
17 | 17 | /** |
18 | - * @return iterable|string[] |
|
18 | + * @return \Generator |
|
19 | 19 | */ |
20 | 20 | public function getInterfaces(): iterable |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | class UnionDefinitionNode extends TypeDefinitionNode |
16 | 16 | { |
17 | 17 | /** |
18 | - * @return iterable|string[] |
|
18 | + * @return \Generator |
|
19 | 19 | */ |
20 | 20 | public function getUnionDefinitions(): iterable |
21 | 21 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * @param Readable $readable |
37 | 37 | * @param RuleInterface $ast |
38 | - * @return \Generator|RuleInterface[]|Definition[] |
|
38 | + * @return \Generator |
|
39 | 39 | * @throws \LogicException |
40 | 40 | */ |
41 | 41 | public function build(Readable $readable, RuleInterface $ast) |
@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * @param Readable $file |
27 | 27 | * @param RuleInterface|DirectiveDefinitionNode $ast |
28 | - * @return \Generator|mixed |
|
28 | + * @return TypeDefinition |
|
29 | 29 | */ |
30 | 30 | public function build(Readable $file, RuleInterface $ast) |
31 | 31 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * @param Readable $file |
26 | 26 | * @param RuleInterface|EnumDefinitionNode $ast |
27 | - * @return \Generator|mixed |
|
27 | + * @return \Generator |
|
28 | 28 | */ |
29 | 29 | public function build(Readable $file, RuleInterface $ast) |
30 | 30 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * @param Readable $file |
26 | 26 | * @param RuleInterface|FieldDefinitionNode $ast |
27 | - * @return \Generator|mixed |
|
27 | + * @return \Generator |
|
28 | 28 | */ |
29 | 29 | public function build(Readable $file, RuleInterface $ast) |
30 | 30 | { |