From: Sam Reed Date: Thu, 23 Dec 2010 20:00:02 +0000 (+0000) Subject: Another variable type hint, and some function documentation X-Git-Tag: 1.31.0-rc.0~33136 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=b3496e5fc9eab4ea0666c01a46079d0b11e80b16;p=lhc%2Fweb%2Fwiklou.git Another variable type hint, and some function documentation --- 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(