Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -533,7 +533,7 @@ |
534 | 534 | * Returns an array of parameter descriptions. |
535 | 535 | * Don't call this functon directly: use getFinalParamDescription() to |
536 | 536 | * allow hooks to modify descriptions as needed. |
537 | | - * @return array or false |
| 537 | + * @return array|bool False on no parameter descriptions |
538 | 538 | */ |
539 | 539 | protected function getParamDescription() { |
540 | 540 | return false; |
— | — | @@ -543,7 +543,7 @@ |
544 | 544 | * Get final list of parameters, after hooks have had a chance to |
545 | 545 | * tweak it as needed. |
546 | 546 | * |
547 | | - * @return array or false |
| 547 | + * @return array|Bool False on no parameters |
548 | 548 | */ |
549 | 549 | public function getFinalParams() { |
550 | 550 | $params = $this->getAllowedParams(); |
— | — | @@ -555,7 +555,7 @@ |
556 | 556 | * Get final parameter descriptions, after hooks have had a chance to tweak it as |
557 | 557 | * needed. |
558 | 558 | * |
559 | | - * @return array |
| 559 | + * @return array|bool False on no parameter descriptions |
560 | 560 | */ |
561 | 561 | public function getFinalParamDescription() { |
562 | 562 | $desc = $this->getParamDescription(); |
— | — | @@ -567,7 +567,7 @@ |
568 | 568 | * Get final module description, after hooks have had a chance to tweak it as |
569 | 569 | * needed. |
570 | 570 | * |
571 | | - * @return array |
| 571 | + * @return array|bool False on no parameters |
572 | 572 | */ |
573 | 573 | public function getFinalDescription() { |
574 | 574 | $desc = $this->getDescription(); |