Fix return type of UploadStash::listFiles
authorUmherirrender <umherirrender_de.wp@web.de>
Tue, 18 Jun 2019 18:33:53 +0000 (20:33 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 18 Jun 2019 18:33:53 +0000 (20:33 +0200)
SpecialUploadStash is using the return and already checking for truthy

Change-Id: Ie26f327d5ec9d67c39cf757591d2a779aecda86f

includes/upload/UploadStash.php

index d39975d..215bd20 100644 (file)
@@ -433,7 +433,7 @@ class UploadStash {
         * List all files in the stash.
         *
         * @throws UploadStashNotLoggedInException
-        * @return array
+        * @return array|false
         */
        public function listFiles() {
                if ( !$this->isLoggedIn ) {