UploadBase::getTitle can return null
authoraddshore <addshorewiki@gmail.com>
Tue, 18 Apr 2017 19:42:54 +0000 (20:42 +0100)
committeraddshore <addshorewiki@gmail.com>
Tue, 18 Apr 2017 19:42:54 +0000 (20:42 +0100)
Change-Id: I5bd94f6233476bda43a01155f6e7d6df420412e2

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 ) {