@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Gets the specified return type of a function |
176 | 176 | * |
177 | - * @return \ReflectionType |
|
177 | + * @return null|ReflectionType |
|
178 | 178 | * |
179 | 179 | * @link http://php.net/manual/en/reflectionfunctionabstract.getreturntype.php |
180 | 180 | */ |
@@ -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 | { |
@@ -39,6 +39,8 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Initializes reflection data |
42 | + * @param null|boolean $allowsNull |
|
43 | + * @param boolean $isBuiltin |
|
42 | 44 | */ |
43 | 45 | public function __construct($type, $allowsNull, $isBuiltin) |
44 | 46 | { |