@@ -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 | { |
@@ -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 | */ |
@@ -323,6 +323,7 @@ discard block |
||
323 | 323 | |
324 | 324 | /** |
325 | 325 | * {@inheritdoc} |
326 | + * @param string $name |
|
326 | 327 | */ |
327 | 328 | public function getMethod($name) |
328 | 329 | { |
@@ -593,6 +594,7 @@ discard block |
||
593 | 594 | |
594 | 595 | /** |
595 | 596 | * {@inheritdoc} |
597 | + * @param string $name |
|
596 | 598 | */ |
597 | 599 | public function hasMethod($name) |
598 | 600 | { |
@@ -623,6 +625,7 @@ discard block |
||
623 | 625 | |
624 | 626 | /** |
625 | 627 | * {@inheritDoc} |
628 | + * @param string $interfaceName |
|
626 | 629 | */ |
627 | 630 | public function implementsInterface($interfaceName) |
628 | 631 | { |
@@ -955,5 +958,8 @@ discard block |
||
955 | 958 | } |
956 | 959 | } |
957 | 960 | |
961 | + /** |
|
962 | + * @param string $className |
|
963 | + */ |
|
958 | 964 | abstract protected function createReflectionForClass($className); |
959 | 965 | } |