r87125 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87124‎ | r87125 | r87126 >
Date:15:41, 29 April 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
fix return type descriptions
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -454,7 +454,7 @@
455455 * value) or (parameter name) => (array with PARAM_* constants as keys)
456456 * Don't call this function directly: use getFinalParams() to allow
457457 * hooks to modify parameters as needed.
458 - * @return array
 458+ * @return array or false
459459 */
460460 protected function getAllowedParams() {
461461 return false;
@@ -464,7 +464,7 @@
465465 * Returns an array of parameter descriptions.
466466 * Don't call this functon directly: use getFinalParamDescription() to
467467 * allow hooks to modify descriptions as needed.
468 - * @return array
 468+ * @return array or false
469469 */
470470 protected function getParamDescription() {
471471 return false;
@@ -473,7 +473,7 @@
474474 /**
475475 * Get final list of parameters, after hooks have had a chance to
476476 * tweak it as needed.
477 - * @return array
 477+ * @return array or false
478478 */
479479 public function getFinalParams() {
480480 $params = $this->getAllowedParams();

Status & tagging log