From: Sam Reed Date: Thu, 23 Dec 2010 19:53:28 +0000 (+0000) Subject: More minor bits of documentation X-Git-Tag: 1.31.0-rc.0~33137 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f63b5040e3c2abd5f95f3c36c02cb6ae68b5d314;p=lhc%2Fweb%2Fwiklou.git More minor bits of documentation Object type hint on mPrinter --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index ce45d6c23d..0a7b47cdd2 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -847,8 +847,8 @@ abstract class ApiBase { * Prints usage info on failure. * @param $paramName string Parameter name * @param $value int Parameter value - * @param $min int Minimum value - * @param $max int Maximum value for users + * @param $min int|null Minimum value + * @param $max int|null Maximum value for users * @param $botMax int Maximum value for sysops/bots * @param $enforceLimits Boolean Whether to enforce (die) if value is outside limits */ diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 24be819651..8933e05a96 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -123,7 +123,12 @@ class ApiMain extends ApiBase { ) ); - private $mPrinter, $mModules, $mModuleNames, $mFormats, $mFormatNames; + /** + * @var ApiFormatBase + */ + private $mPrinter; + + private $mModules, $mModuleNames, $mFormats, $mFormatNames; private $mResult, $mAction, $mShowVersions, $mEnableWrite, $mRequest; private $mInternalMode, $mSquidMaxage, $mModule;