FileDeleteForm: Fix phpdoc for doDelete()

$oldimage isn't required and can be null.

Needed to have Nuke pass a newer version of phan.

Change-Id: I3e4b0947580836f1bf5c3807e98fb1d9543f4523
This commit is contained in:
Kunal Mehta 2019-12-22 02:29:30 -08:00
parent 09bc7484a7
commit bfa7aa20ab

View file

@ -148,7 +148,7 @@ class FileDeleteForm {
*
* @param Title &$title
* @param LocalFile &$file
* @param string &$oldimage Archive name
* @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|null $user User object performing the request