@@ -24,7 +24,6 @@ |
||
24 | 24 | use Railt\SDL\Compiler\Ast\Value\NullValueNode; |
25 | 25 | use Railt\SDL\Compiler\Ast\Value\ValueInterface; |
26 | 26 | use Railt\SDL\Compiler\Ast\Value\ValueNode; |
27 | -use Railt\SDL\Exception\SemanticException; |
|
28 | 27 | use Railt\SDL\Exception\TypeConflictException; |
29 | 28 | |
30 | 29 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use Railt\Reflection\Contracts\Definition; |
13 | 13 | use Railt\Reflection\Contracts\Definition\InputDefinition; |
14 | 14 | use Railt\Reflection\Contracts\Invocation\InputInvocation; |
15 | -use Railt\Reflection\Contracts\Invocation\TypeInvocation; |
|
16 | 15 | use Railt\SDL\Exception\SemanticException; |
17 | 16 | use Railt\SDL\Exception\TypeConflictException; |
18 | 17 |
@@ -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 | { |