From 65538b0ccd1cf7fd305230d4517c81108f5e549c Mon Sep 17 00:00:00 2001 From: addshore Date: Tue, 18 Apr 2017 20:42:54 +0100 Subject: [PATCH] UploadBase::getTitle can return null Change-Id: I5bd94f6233476bda43a01155f6e7d6df420412e2 --- includes/upload/UploadBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php index 2c0afdf00f..55fb68529f 100644 --- a/includes/upload/UploadBase.php +++ b/includes/upload/UploadBase.php @@ -798,7 +798,7 @@ abstract class UploadBase { * Returns the title of the file to be uploaded. Sets mTitleError in case * the name was illegal. * - * @return Title The title of the file or null in case the name was illegal + * @return Title|null The title of the file or null in case the name was illegal */ public function getTitle() { if ( $this->mTitle !== false ) { -- 2.20.1