r78922 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78921‎ | r78922 | r78923 >
Date:20:00, 23 December 2010
Author:reedy
Status:ok
Tags:
Comment:
Another variable type hint, and some function documentation
Modified paths:
  • /trunk/phase3/includes/api/ApiParamInfo.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -43,7 +43,12 @@
4444 class ApiQuery extends ApiBase {
4545
4646 private $mPropModuleNames, $mListModuleNames, $mMetaModuleNames;
 47+
 48+ /**
 49+ * @var ApiPageSet
 50+ */
4751 private $mPageSet;
 52+
4853 private $params, $redirects, $convertTitles;
4954
5055 private $mQueryPropModules = array(
Index: trunk/phase3/includes/api/ApiParamInfo.php
@@ -84,6 +84,10 @@
8585 $result->addValue( null, $this->getModuleName(), $r );
8686 }
8787
 88+ /**
 89+ * @param $obj ApiBase
 90+ * @return ApiResult
 91+ */
8892 function getClassInfo( $obj ) {
8993 $result = $this->getResult();
9094 $retval['classname'] = get_class( $obj );

Status & tagging log