X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiParamInfo.php;h=622e3a60c636792926920a5f6097472f48918f11;hb=911d50b022587b966fadf8374b7bd739b7830732;hp=5092af0132932e1ee6decf4af32d8b2bc9d710f8;hpb=6b9c23cf6d47c4c854fd95acdbb72fd577aae8f8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index 5092af0132..622e3a60c6 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -34,7 +34,7 @@ class ApiParamInfo extends ApiBase { */ protected $queryObj; - public function __construct( $main, $action ) { + public function __construct( ApiMain $main, $action ) { parent::__construct( $main, $action ); $this->queryObj = new ApiQuery( $this->getMain(), 'query' ); } @@ -66,10 +66,10 @@ class ApiParamInfo extends ApiBase { /** * If the type is requested in parameters, adds a section to res with module info. - * @param array $params user parameters array - * @param string $type parameter name - * @param array $res store results in this array - * @param ApiResult $resultObj results object to set indexed tag. + * @param array $params User parameters array + * @param string $type Parameter name + * @param array $res Store results in this array + * @param ApiResult $resultObj Results object to set indexed tag. */ private function addModulesInfo( $params, $type, &$res, $resultObj ) { if ( !is_array( $params[$type] ) ) { @@ -99,7 +99,7 @@ class ApiParamInfo extends ApiBase { } /** - * @param $obj ApiBase + * @param ApiBase $obj * @return ApiResult */ private function getClassInfo( $obj ) {