Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -454,7 +454,7 @@ |
455 | 455 | * value) or (parameter name) => (array with PARAM_* constants as keys) |
456 | 456 | * Don't call this function directly: use getFinalParams() to allow |
457 | 457 | * hooks to modify parameters as needed. |
458 | | - * @return array |
| 458 | + * @return array or false |
459 | 459 | */ |
460 | 460 | protected function getAllowedParams() { |
461 | 461 | return false; |
— | — | @@ -464,7 +464,7 @@ |
465 | 465 | * Returns an array of parameter descriptions. |
466 | 466 | * Don't call this functon directly: use getFinalParamDescription() to |
467 | 467 | * allow hooks to modify descriptions as needed. |
468 | | - * @return array |
| 468 | + * @return array or false |
469 | 469 | */ |
470 | 470 | protected function getParamDescription() { |
471 | 471 | return false; |
— | — | @@ -473,7 +473,7 @@ |
474 | 474 | /** |
475 | 475 | * Get final list of parameters, after hooks have had a chance to |
476 | 476 | * tweak it as needed. |
477 | | - * @return array |
| 477 | + * @return array or false |
478 | 478 | */ |
479 | 479 | public function getFinalParams() { |
480 | 480 | $params = $this->getAllowedParams(); |