@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param iterable|Definition[] $ir |
61 | - * @return iterable|Definition[] |
|
61 | + * @return \Generator |
|
62 | 62 | * @throws Exception\InternalException |
63 | 63 | */ |
64 | 64 | private function validate(iterable $ir): iterable |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param Readable $file |
41 | - * @param iterable $ir |
|
41 | + * @param \Generator $ir |
|
42 | 42 | * @return Document |
43 | 43 | */ |
44 | 44 | public function generate(Readable $file, iterable $ir): Document |
@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @param null|Readable|File $schema |
|
55 | + * @param null|Readable $schema |
|
56 | 56 | * @return mixed|array|object |
57 | 57 | */ |
58 | 58 | private function loadJsonSchema(?Readable $schema) |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait DirectivesProvider |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|DirectiveValueNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getDirectiveNodes(): iterable |
23 | 23 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | use DependentNameProvider; |
24 | 24 | |
25 | 25 | /** |
26 | - * @return \Generator|mixed |
|
26 | + * @return \Generator |
|
27 | 27 | */ |
28 | 28 | protected function parse() |
29 | 29 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * @param Readable $file |
26 | 26 | * @param RuleInterface|ArgumentDefinitionNode $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|InputFieldDefinitionNode $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|ScalarDefinitionNode $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|SchemaFieldDefinitionNode $ast |
27 | - * @return \Generator|mixed |
|
27 | + * @return \Generator |
|
28 | 28 | */ |
29 | 29 | public function build(Readable $file, RuleInterface $ast) |
30 | 30 | { |