@@ -133,6 +133,9 @@ discard block |
||
| 133 | 133 | return filemtime($path) != $cache['mtime']; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | + /** |
|
| 137 | + * @param string $methodName |
|
| 138 | + */ |
|
| 136 | 139 | protected function constructFromClassAndMethod($classNameOrInstance, $methodName) |
| 137 | 140 | { |
| 138 | 141 | $this->otherAnnotations = new AnnotationData(); |
@@ -260,7 +263,6 @@ discard block |
||
| 260 | 263 | /** |
| 261 | 264 | * Return a specific named annotation for this command as a list. |
| 262 | 265 | * |
| 263 | - * @param string $name The name of the annotation. |
|
| 264 | 266 | * @return array|null |
| 265 | 267 | */ |
| 266 | 268 | public function getAnnotationList($annotation) |
@@ -439,7 +441,7 @@ discard block |
||
| 439 | 441 | /** |
| 440 | 442 | * Return the list of refleaction parameters. |
| 441 | 443 | * |
| 442 | - * @return ReflectionParameter[] |
|
| 444 | + * @return \ReflectionParameter[] |
|
| 443 | 445 | */ |
| 444 | 446 | public function getParameters() |
| 445 | 447 | { |
@@ -579,7 +581,7 @@ discard block |
||
| 579 | 581 | * Examine the parameters of the method for this command, and |
| 580 | 582 | * build a list of commandline arguements for them. |
| 581 | 583 | * |
| 582 | - * @return array |
|
| 584 | + * @return DefaultsWithDescriptions |
|
| 583 | 585 | */ |
| 584 | 586 | protected function determineAgumentClassifications() |
| 585 | 587 | { |
@@ -599,6 +601,7 @@ discard block |
||
| 599 | 601 | * Examine the provided parameter, and determine whether it |
| 600 | 602 | * is a parameter that will be filled in with a positional |
| 601 | 603 | * commandline argument. |
| 604 | + * @param DefaultsWithDescriptions $result |
|
| 602 | 605 | */ |
| 603 | 606 | protected function addParameterToResult($result, $param) |
| 604 | 607 | { |
@@ -689,6 +692,8 @@ discard block |
||
| 689 | 692 | /** |
| 690 | 693 | * Given a list that might be 'a b c' or 'a, b, c' or 'a,b,c', |
| 691 | 694 | * convert the data into the last of these forms. |
| 695 | + * @param string $text |
|
| 696 | + * @return string |
|
| 692 | 697 | */ |
| 693 | 698 | protected static function convertListToCommaSeparated($text) |
| 694 | 699 | { |