diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-17 19:59:27 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-17 19:59:27 +0100 |
commit | 08d44585420af2ff7426d1df862ec53cce4b1d70 (patch) | |
tree | b17a6955feeebc7d8faec180258cb1bc9ff23b7f /lib/public/AppFramework | |
parent | 644e6df02ee6fba6e396d88c89ad5d4c8b7483e0 (diff) | |
download | nextcloud-server-08d44585420af2ff7426d1df862ec53cce4b1d70.tar.gz nextcloud-server-08d44585420af2ff7426d1df862ec53cce4b1d70.zip |
Initialize \OCP\AppFramework\Http\ZipResponse::$resources
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Http/ZipResponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php index 1e4b584fd20..a5cc82ebad8 100644 --- a/lib/public/AppFramework/Http/ZipResponse.php +++ b/lib/public/AppFramework/Http/ZipResponse.php @@ -38,7 +38,7 @@ use OCP\IRequest; */ class ZipResponse extends Response implements ICallbackResponse { /** @var resource[] Files to be added to the zip response */ - private $resources; + private $resources = []; /** @var string Filename that the zip file should have */ private $name; private $request; |