@@ -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) |