@@ -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 | { |
@@ -306,6 +306,7 @@ discard block |
||
| 306 | 306 | |
| 307 | 307 | /** |
| 308 | 308 | * {@inheritdoc} |
| 309 | + * @param string $name |
|
| 309 | 310 | */ |
| 310 | 311 | public function getMethod($name) |
| 311 | 312 | { |
@@ -499,6 +500,7 @@ discard block |
||
| 499 | 500 | |
| 500 | 501 | /** |
| 501 | 502 | * {@inheritdoc} |
| 503 | + * @param string $name |
|
| 502 | 504 | */ |
| 503 | 505 | public function hasMethod($name) |
| 504 | 506 | { |
@@ -529,6 +531,7 @@ discard block |
||
| 529 | 531 | |
| 530 | 532 | /** |
| 531 | 533 | * {@inheritDoc} |
| 534 | + * @param string $interfaceName |
|
| 532 | 535 | */ |
| 533 | 536 | public function implementsInterface($interfaceName) |
| 534 | 537 | { |
@@ -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')) { |
@@ -38,6 +38,8 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Initializes reflection data |
| 41 | + * @param boolean $allowsNull |
|
| 42 | + * @param boolean $isBuiltin |
|
| 41 | 43 | */ |
| 42 | 44 | public function __construct($type, $allowsNull, $isBuiltin) |
| 43 | 45 | { |
@@ -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 | */ |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Initializes reflection instance |
| 30 | 30 | * |
| 31 | - * @param string|object $argument Class name or instance of object |
|
| 31 | + * @param string|null $argument Class name or instance of object |
|
| 32 | 32 | * @param ClassLike $classLikeNode AST node for class |
| 33 | 33 | * @param ReflectionParser $reflectionParser AST parser |
| 34 | 34 | */ |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * |
| 94 | 94 | * @param string $fullName Full name of the class |
| 95 | 95 | * |
| 96 | - * @return void |
|
| 96 | + * @return \ReflectionClass |
|
| 97 | 97 | */ |
| 98 | 98 | public function getClassReflection($fullName) |
| 99 | 99 | { |
@@ -267,6 +267,9 @@ discard block |
||
| 267 | 267 | |
| 268 | 268 | /** |
| 269 | 269 | * Provides back compatibility with static ReflectionEngine |
| 270 | + * @param null|integer $maximumCachedFiles |
|
| 271 | + * @param null|Parser $parser |
|
| 272 | + * @param null|NodeTraverser $traverser |
|
| 270 | 273 | * @return void |
| 271 | 274 | */ |
| 272 | 275 | public function initStaticEngine(&$parsedFiles, &$maximumCachedFiles, &$parser, &$traverser) |