From 9083239452ddee77384740291c606e54125f1536 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Tue, 18 Jun 2019 20:33:53 +0200 Subject: [PATCH] Fix return type of UploadStash::listFiles SpecialUploadStash is using the return and already checking for truthy Change-Id: Ie26f327d5ec9d67c39cf757591d2a779aecda86f --- includes/upload/UploadStash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/upload/UploadStash.php b/includes/upload/UploadStash.php index d39975db1b..215bd2041f 100644 --- a/includes/upload/UploadStash.php +++ b/includes/upload/UploadStash.php @@ -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 ) { -- 2.20.1