Documentation and whitespace
authorSam Reed <reedy@users.mediawiki.org>
Thu, 9 Feb 2012 01:06:57 +0000 (01:06 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 9 Feb 2012 01:06:57 +0000 (01:06 +0000)
api.php5
includes/Cdb_PHP.php
includes/api/ApiBase.php

index 504098d..72ee155 100644 (file)
--- a/api.php5
+++ b/api.php5
@@ -1 +1 @@
-<?php require 'api.php'; 
\ No newline at end of file
+<?php require 'api.php';
index aaaf33a..e1e6d28 100644 (file)
@@ -51,7 +51,7 @@ class CdbFunctions {
        /**
         * The CDB hash function.
         *
-        * @param $s
+        * @param $s string
         *
         * @return
         */
index 133339a..e67ac05 100644 (file)
@@ -523,7 +523,7 @@ abstract class ApiBase extends ContextSource {
         * 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 or false
+        * @return array|bool
         */
        protected function getAllowedParams() {
                return false;
@@ -773,7 +773,7 @@ abstract class ApiBase extends ContextSource {
         * Using the settings determine the value for the given parameter
         *
         * @param $paramName String: parameter name
-        * @param $paramSettings Mixed: default value or an array of settings
+        * @param $paramSettings array|mixed default value or an array of settings
         *  using PARAM_* constants.
         * @param $parseLimit Boolean: parse limit?
         * @return mixed Parameter value