X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiDelete.php;h=7766acd3636966ce703b3ef639ae93ca89d37e09;hp=72bbe004828923f1537b5af6491e91294903cba1;hb=e7720b8f8e09287384ddee271641d1b1721318bb;hpb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1 diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 72bbe00482..7766acd363 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -106,7 +106,7 @@ class ApiDelete extends ApiBase { * * @param Page|WikiPage $page Page or WikiPage object to work on * @param User $user User doing the action - * @param string|null $reason Reason for the deletion. Autogenerated if null + * @param string|null &$reason Reason for the deletion. Autogenerated if null * @param array $tags Tags to tag the deletion with * @return Status */ @@ -142,7 +142,7 @@ class ApiDelete extends ApiBase { * @param Page $page Object to work on * @param User $user User doing the action * @param string $oldimage Archive name - * @param string $reason Reason for the deletion. Autogenerated if null. + * @param string &$reason Reason for the deletion. Autogenerated if null. * @param bool $suppress Whether to mark all deleted versions as restricted * @param array $tags Tags to tag the deletion with * @return Status