@@ -22,12 +22,11 @@ |
||
| 22 | 22 | public function getParentInheritance(): ?TypeDefinition; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @return iterable|TypeDefinition[] |
|
| 25 | + * @return \Generator |
|
| 26 | 26 | */ |
| 27 | 27 | public function getChildrenInheritance(): iterable; |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * @param string $name |
|
| 31 | 30 | * @return bool |
| 32 | 31 | */ |
| 33 | 32 | public function hasParent(): bool; |
@@ -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 getChildrenInheritance(): iterable |
| 40 | 40 | { |
@@ -52,7 +52,6 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @param string $name |
|
| 56 | 55 | * @return bool |
| 57 | 56 | */ |
| 58 | 57 | public function hasParent(): bool |
@@ -84,7 +83,7 @@ discard block |
||
| 84 | 83 | } |
| 85 | 84 | |
| 86 | 85 | /** |
| 87 | - * @param string|TypeDefinition $type |
|
| 86 | + * @param TypeDefinition $type |
|
| 88 | 87 | * @return bool |
| 89 | 88 | */ |
| 90 | 89 | public function isExtends($type): bool |