From 750a03860f51cf1aa6bf441c70a9d6f8a71f6d95 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 8 Mar 2010 21:11:32 +0000 Subject: [PATCH] Fixed some doxygen warnings --- includes/api/ApiDelete.php | 6 +++--- includes/api/ApiQueryBase.php | 2 +- includes/api/ApiResult.php | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 90e9aa1992..9689c97c85 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -108,9 +108,9 @@ class ApiDelete extends ApiBase { /** * We have our own delete() function, since Article.php's implementation is split in two phases * - * @param Article $article - Article object to work on - * @param string $token - Delete token (same as edit token) - * @param string $reason - Reason for the deletion. Autogenerated if NULL + * @param $article Article object to work on + * @param $token String: delete token (same as edit token) + * @param $reason String: reason for the deletion. Autogenerated if NULL * @return Title::getUserPermissionsErrors()-like array */ public static function delete( &$article, $token, &$reason = null ) { diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index b952f61a4b..975dbb2836 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -309,7 +309,7 @@ abstract class ApiQueryBase extends ApiBase { /** * Same as addPageSubItems(), but one element of $data at a time * @param $pageId int Page ID - * @param $data array Data array à la ApiResult + * @param $item array Data array à la ApiResult * @param $elemname string XML element name. If null, getModuleName() * is used * @return bool Whether the element fit in the result diff --git a/includes/api/ApiResult.php b/includes/api/ApiResult.php index 0bc3e472b4..80f5d86a5f 100644 --- a/includes/api/ApiResult.php +++ b/includes/api/ApiResult.php @@ -165,6 +165,7 @@ class ApiResult extends ApiBase { * Adds a content element to an array. * Use this function instead of hardcoding the '*' element. * @param $arr array to add the content element to + * @param $value Mixed * @param $subElemName string when present, content element is created * as a sub item of $arr. Use this parameter to create elements in * format text without attributes -- 2.20.1