@@ -159,6 +159,9 @@ |
||
| 159 | 159 | return ''; |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | + /** |
|
| 163 | + * @return string |
|
| 164 | + */ |
|
| 162 | 165 | protected function resolveScalarMagicConstNamespace() |
| 163 | 166 | { |
| 164 | 167 | if (method_exists($this->context, 'getNamespaceName')) { |
@@ -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 | { |