From b3496e5fc9eab4ea0666c01a46079d0b11e80b16 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 23 Dec 2010 20:00:02 +0000 Subject: [PATCH] Another variable type hint, and some function documentation --- includes/api/ApiParamInfo.php | 4 ++++ includes/api/ApiQuery.php | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index ec6d21f118..f554e487af 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -84,6 +84,10 @@ class ApiParamInfo extends ApiBase { $result->addValue( null, $this->getModuleName(), $r ); } + /** + * @param $obj ApiBase + * @return ApiResult + */ function getClassInfo( $obj ) { $result = $this->getResult(); $retval['classname'] = get_class( $obj ); diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index a514566e5b..04069590b4 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -43,7 +43,12 @@ if ( !defined( 'MEDIAWIKI' ) ) { class ApiQuery extends ApiBase { private $mPropModuleNames, $mListModuleNames, $mMetaModuleNames; + + /** + * @var ApiPageSet + */ private $mPageSet; + private $params, $redirects, $convertTitles; private $mQueryPropModules = array( -- 2.20.1