X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFileDeleteForm.php;h=8c843c4438d5afee9ef329cfbf2ab4dc91440ffd;hb=1ec5bb6dbf28bb1f3414188aaa69e2b0a795abdb;hp=e7b4a1f8e61b5c07cc84f839faa24dc7f7568e85;hpb=b4ba469f260efe4bc1254c08cf70771b33c328fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index e7b4a1f8e6..8c843c4438 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -47,8 +47,6 @@ class FileDeleteForm { private $oldimage = ''; /** - * Constructor - * * @param File $file File object we're deleting */ public function __construct( $file ) { @@ -145,9 +143,9 @@ class FileDeleteForm { /** * Really delete the file * - * @param Title $title - * @param File $file - * @param string $oldimage Archive name + * @param Title &$title + * @param File &$file + * @param string &$oldimage Archive name * @param string $reason Reason of the deletion * @param bool $suppress Whether to mark all deleted versions as restricted * @param User $user User object performing the request @@ -400,8 +398,8 @@ class FileDeleteForm { * value was provided, does it correspond to an * existing, local, old version of this file? * - * @param File $file - * @param File $oldfile + * @param File &$file + * @param File &$oldfile * @param File $oldimage * @return bool */