@@ -24,8 +24,8 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Initializes reflection instance for given AST-node |
| 26 | 26 | * |
| 27 | - * @param string|\Closure $functionName The name of the function to reflect or a closure. |
|
| 28 | - * @param Function_|null $functionNode Function node AST |
|
| 27 | + * @param string $functionName The name of the function to reflect or a closure. |
|
| 28 | + * @param Function_ $functionNode Function node AST |
|
| 29 | 29 | */ |
| 30 | 30 | public function __construct($functionName, Function_ $functionNode) |
| 31 | 31 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Initializes reflection instance |
| 31 | 31 | * |
| 32 | - * @param string|object $argument Class name or instance of object |
|
| 32 | + * @param string|null $argument Class name or instance of object |
|
| 33 | 33 | * @param ClassLike $classLikeNode AST node for class |
| 34 | 34 | */ |
| 35 | 35 | public function __construct($argument, ClassLike $classLikeNode = null) |
@@ -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 | */ |