r78920 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78919‎ | r78920 | r78921 >
Date:19:53, 23 December 2010
Author:reedy
Status:ok
Tags:
Comment:
More minor bits of documentation

Object type hint on mPrinter
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -123,7 +123,12 @@
124124 )
125125 );
126126
127 - private $mPrinter, $mModules, $mModuleNames, $mFormats, $mFormatNames;
 127+ /**
 128+ * @var ApiFormatBase
 129+ */
 130+ private $mPrinter;
 131+
 132+ private $mModules, $mModuleNames, $mFormats, $mFormatNames;
128133 private $mResult, $mAction, $mShowVersions, $mEnableWrite, $mRequest;
129134 private $mInternalMode, $mSquidMaxage, $mModule;
130135
Index: trunk/phase3/includes/api/ApiBase.php
@@ -847,8 +847,8 @@
848848 * Prints usage info on failure.
849849 * @param $paramName string Parameter name
850850 * @param $value int Parameter value
851 - * @param $min int Minimum value
852 - * @param $max int Maximum value for users
 851+ * @param $min int|null Minimum value
 852+ * @param $max int|null Maximum value for users
853853 * @param $botMax int Maximum value for sysops/bots
854854 * @param $enforceLimits Boolean Whether to enforce (die) if value is outside limits
855855 */

Status & tagging log