@@ -26,7 +26,7 @@ |
||
26 | 26 | * Initializes reflection instance for given AST-node |
27 | 27 | * |
28 | 28 | * @param string|\Closure $functionName The name of the function to reflect or a closure. |
29 | - * @param Function_|null $functionNode Function node AST |
|
29 | + * @param Function_ $functionNode Function node AST |
|
30 | 30 | */ |
31 | 31 | public function __construct($functionName, Function_ $functionNode) |
32 | 32 | { |
@@ -160,6 +160,7 @@ |
||
160 | 160 | |
161 | 161 | /** |
162 | 162 | * @inheritDoc |
163 | + * @return string |
|
163 | 164 | */ |
164 | 165 | public function getName() |
165 | 166 | { |