@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * @param Readable $file |
| 26 | 26 | * @param RuleInterface|InterfaceDefinitionNode $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|ObjectDefinitionNode $ast |
| 27 | - * @return \Generator|mixed |
|
| 27 | + * @return \Generator |
|
| 28 | 28 | */ |
| 29 | 29 | public function build(Readable $file, RuleInterface $ast) |
| 30 | 30 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @param Readable $file |
| 28 | 28 | * @param RuleInterface|SchemaDefinitionNode $ast |
| 29 | - * @return \Generator|mixed |
|
| 29 | + * @return \Generator |
|
| 30 | 30 | */ |
| 31 | 31 | public function build(Readable $file, RuleInterface $ast) |
| 32 | 32 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param Readable $file |
| 23 | 23 | * @param RuleInterface $ast |
| 24 | - * @return \Generator|mixed|Definition|\Railt\SDL\IR\TypeDefinition|\Railt\SDL\IR\TypeInvocation |
|
| 24 | + * @return \Generator |
|
| 25 | 25 | */ |
| 26 | 26 | public function build(Readable $file, RuleInterface $ast) |
| 27 | 27 | { |
@@ -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 | { |