From: addshore Date: Tue, 18 Apr 2017 19:42:54 +0000 (+0100) Subject: UploadBase::getTitle can return null X-Git-Tag: 1.31.0-rc.0~3462^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=65538b0ccd1cf7fd305230d4517c81108f5e549c;p=lhc%2Fweb%2Fwiklou.git UploadBase::getTitle can return null Change-Id: I5bd94f6233476bda43a01155f6e7d6df420412e2 --- 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 ) {