From: Umherirrender Date: Tue, 18 Jun 2019 18:33:53 +0000 (+0200) Subject: Fix return type of UploadStash::listFiles X-Git-Tag: 1.34.0-rc.0~1354^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=9083239452ddee77384740291c606e54125f1536;p=lhc%2Fweb%2Fwiklou.git Fix return type of UploadStash::listFiles SpecialUploadStash is using the return and already checking for truthy Change-Id: Ie26f327d5ec9d67c39cf757591d2a779aecda86f --- 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 ) {