From f63b5040e3c2abd5f95f3c36c02cb6ae68b5d314 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 23 Dec 2010 19:53:28 +0000 Subject: [PATCH] More minor bits of documentation Object type hint on mPrinter --- includes/api/ApiBase.php | 4 ++-- includes/api/ApiMain.php | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) 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; -- 2.20.1