@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * @param Readable $file |
88 | 88 | * @param RuleInterface $ast |
89 | - * @return iterable|RecordInterface[] |
|
89 | + * @return \Generator |
|
90 | 90 | */ |
91 | 91 | public function build(Readable $file, RuleInterface $ast): iterable |
92 | 92 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * @param ContextInterface $context |
116 | 116 | * @param RuleInterface $ast |
117 | - * @return mixed|\Traversable|void |
|
117 | + * @return ContextInterface |
|
118 | 118 | * @throws \Railt\Io\Exception\ExternalFileException |
119 | 119 | */ |
120 | 120 | private function resolve(ContextInterface $context, RuleInterface $ast) |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Psr\Log\LoggerInterface; |
15 | 15 | use Railt\Io\File; |
16 | 16 | use Railt\Io\Readable; |
17 | -use Railt\Reflection\Contracts\Document; |
|
18 | 17 | use Railt\Reflection\Contracts\Document as DocumentInterface; |
19 | 18 | use Railt\Reflection\Reflection; |
20 | 19 | use Railt\SDL\Compiler\Dictionary; |