X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiParamInfo.php;h=622e3a60c636792926920a5f6097472f48918f11;hb=911d50b022587b966fadf8374b7bd739b7830732;hp=2b4710aa3bd1a515fadf3b524e5ecbf421ef343f;hpb=57d3f41876599497fcb9c672b88ebad7239353dc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index 2b4710aa3b..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 ) { @@ -349,7 +349,7 @@ class ApiParamInfo extends ApiBase { } public function getDescription() { - return 'Obtain information about certain API parameters and errors'; + return 'Obtain information about certain API parameters and errors.'; } public function getExamples() {