X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiDelete.php;h=116c8cd38e94e46109004f4ef39780bb02b62466;hb=45a51d8506bbbf738f9610355c40cf1ea17cd7d6;hp=c09cad322bd5422c3e373eb252d299345d47f7f7;hpb=27d2144b37858288e40fa66ee11e258eee5762de;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index c09cad322b..116c8cd38e 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -89,9 +89,9 @@ class ApiDelete extends ApiBase { } /** - * @param $title Title - * @param $user User doing the action - * @param $token String + * @param Title $title + * @param User $user User doing the action + * @param string $token * @return array */ private static function getPermissionsError( $title, $user, $token ) { @@ -102,8 +102,8 @@ class ApiDelete extends ApiBase { /** * We have our own delete() function, since Article.php's implementation is split in two phases * - * @param $page Page|WikiPage object to work on - * @param $user User doing the action + * @param Page|WikiPage $page Page or WikiPage object to work on + * @param User $user User doing the action * @param string $token delete token (same as edit token) * @param string|null $reason reason for the deletion. Autogenerated if NULL * @return Status|array @@ -240,7 +240,7 @@ class ApiDelete extends ApiBase { } public function getDescription() { - return 'Delete a page'; + return 'Delete a page.'; } public function getPossibleErrors() {