@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | /** |
70 | 70 | * @param ReflectionClass $reflection |
71 | - * @return array |
|
71 | + * @return Node\Stmt\ClassMethod[] |
|
72 | 72 | * @throws ReflectionException |
73 | 73 | */ |
74 | 74 | public function getMethods(ReflectionClass $reflection): array |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | /** |
143 | 143 | * @param ReflectionMethod $method |
144 | - * @return Node|null |
|
144 | + * @return null|Node\Identifier |
|
145 | 145 | */ |
146 | 146 | private function defineReturnType(ReflectionMethod $method): ?Node |
147 | 147 | { |