From 08d44585420af2ff7426d1df862ec53cce4b1d70 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 17 Feb 2021 19:59:27 +0100 Subject: [PATCH] Initialize \OCP\AppFramework\Http\ZipResponse::$resources Signed-off-by: Christoph Wurst --- lib/public/AppFramework/Http/ZipResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/AppFramework/Http/ZipResponse.php b/lib/public/AppFramework/Http/ZipResponse.php index 1e4b584fd2021..a5cc82ebad860 100644 --- a/lib/public/AppFramework/Http/ZipResponse.php +++ b/lib/public/AppFramework/Http/ZipResponse.php @@ -38,7 +38,7 @@ */ 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;