jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/348793 )

Change subject: UploadBase::getTitle can return null
......................................................................


UploadBase::getTitle can return null

Change-Id: I5bd94f6233476bda43a01155f6e7d6df420412e2
---
M includes/upload/UploadBase.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php
index 2c0afdf..55fb685 100644
--- a/includes/upload/UploadBase.php
+++ b/includes/upload/UploadBase.php
@@ -798,7 +798,7 @@
         * 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 ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/348793
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5bd94f6233476bda43a01155f6e7d6df420412e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to