r111004 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111003‎ | r111004 | r111005 >
Date:01:06, 9 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Documentation and whitespace
Modified paths:
  • /trunk/phase3/api.php5 (modified) (history)
  • /trunk/phase3/includes/Cdb_PHP.php (modified) (history)
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Cdb_PHP.php
@@ -51,7 +51,7 @@
5252 /**
5353 * The CDB hash function.
5454 *
55 - * @param $s
 55+ * @param $s string
5656 *
5757 * @return
5858 */
Index: trunk/phase3/includes/api/ApiBase.php
@@ -523,7 +523,7 @@
524524 * value) or (parameter name) => (array with PARAM_* constants as keys)
525525 * Don't call this function directly: use getFinalParams() to allow
526526 * hooks to modify parameters as needed.
527 - * @return array or false
 527+ * @return array|bool
528528 */
529529 protected function getAllowedParams() {
530530 return false;
@@ -773,7 +773,7 @@
774774 * Using the settings determine the value for the given parameter
775775 *
776776 * @param $paramName String: parameter name
777 - * @param $paramSettings Mixed: default value or an array of settings
 777+ * @param $paramSettings array|mixed default value or an array of settings
778778 * using PARAM_* constants.
779779 * @param $parseLimit Boolean: parse limit?
780780 * @return mixed Parameter value
Index: trunk/phase3/api.php5
@@ -1 +1 @@
2 -<?php require 'api.php';
\ No newline at end of file
 2+<?php require 'api.php';

Status & tagging log