Merge "UploadBase::getTitle can return null"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 20 Apr 2017 00:12:20 +0000 (00:12 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 20 Apr 2017 00:12:21 +0000 (00:12 +0000)
includes/upload/UploadBase.php

index 2c0afdf..55fb685 100644 (file)
@@ -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 ) {