@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * @param mixed $value |
| 101 | - * @return iterable|TypeDefinition[] |
|
| 101 | + * @return \Generator |
|
| 102 | 102 | * @throws \Railt\Reflection\Exception\TypeNotFoundException |
| 103 | 103 | */ |
| 104 | 104 | public function resolveType($value): iterable |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * @param TypeDefinition $type |
| 140 | 140 | * @param \Closure $filter |
| 141 | - * @return \Generator|TypeDefinition[] |
|
| 141 | + * @return \Generator |
|
| 142 | 142 | */ |
| 143 | 143 | private function inheritedBy(TypeDefinition $type, \Closure $filter): \Traversable |
| 144 | 144 | { |