@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | abstract protected function fetch($type): TypeDefinition; |
35 | 35 | |
36 | 36 | /** |
37 | - * @return iterable|TypeDefinition[] |
|
37 | + * @return \Generator |
|
38 | 38 | */ |
39 | 39 | public function inheritedBy(): iterable |
40 | 40 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @param TypeDefinition|string $type |
|
102 | + * @param TypeDefinition $type |
|
103 | 103 | * @return bool |
104 | 104 | */ |
105 | 105 | public function instanceOf($type): bool |