@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | abstract protected function fetch($type): TypeDefinition; |
30 | 30 | |
31 | 31 | /** |
32 | - * @return iterable|TypeDefinition[] |
|
32 | + * @return \Generator |
|
33 | 33 | */ |
34 | 34 | public function getParents(): iterable |
35 | 35 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @param string|TypeDefinition $type |
|
75 | + * @param TypeDefinition $type |
|
76 | 76 | * @return bool |
77 | 77 | */ |
78 | 78 | public function isExtends($type): bool |