From: Jeroen De Dauw Date: Fri, 29 Apr 2011 15:41:57 +0000 (+0000) Subject: fix return type descriptions X-Git-Tag: 1.31.0-rc.0~30515 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=22cd74d272e53017cea6e66ce6c5b82f17c6c975;p=lhc%2Fweb%2Fwiklou.git fix return type descriptions --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 2e204d589c..f149af3aef 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -454,7 +454,7 @@ abstract class ApiBase { * value) or (parameter name) => (array with PARAM_* constants as keys) * Don't call this function directly: use getFinalParams() to allow * hooks to modify parameters as needed. - * @return array + * @return array or false */ protected function getAllowedParams() { return false; @@ -464,7 +464,7 @@ abstract class ApiBase { * Returns an array of parameter descriptions. * Don't call this functon directly: use getFinalParamDescription() to * allow hooks to modify descriptions as needed. - * @return array + * @return array or false */ protected function getParamDescription() { return false; @@ -473,7 +473,7 @@ abstract class ApiBase { /** * Get final list of parameters, after hooks have had a chance to * tweak it as needed. - * @return array + * @return array or false */ public function getFinalParams() { $params = $this->getAllowedParams();