Another variable type hint, and some function documentation
This commit is contained in:
parent
f63b5040e3
commit
b3496e5fc9
2 changed files with 9 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue