From 22cd74d272e53017cea6e66ce6c5b82f17c6c975 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Fri, 29 Apr 2011 15:41:57 +0000 Subject: [PATCH] fix return type descriptions --- includes/api/ApiBase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.20.1