Fix return type of UploadStashFile::remove()
authorReedy <reedy@wikimedia.org>
Sun, 14 Apr 2019 02:48:43 +0000 (03:48 +0100)
committerReedy <reedy@wikimedia.org>
Sun, 14 Apr 2019 02:48:43 +0000 (03:48 +0100)
Change-Id: Ib9da5827671a34798b58f7d736e4b663ac2c442d

includes/upload/UploadStash.php

index 7d69fe1..bc7b42b 100644 (file)
@@ -749,7 +749,7 @@ class UploadStashFile extends UnregisteredLocalFile {
 
        /**
         * Remove the associated temporary file
-        * @return status Success
+        * @return bool Success
         */
        public function remove() {
                if ( !$this->repo->fileExists( $this->path ) ) {