summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-17 19:59:27 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-02-17 21:28:28 +0000
commitcff48176c3d20a418b8b1272fc1c2c9a10e44c9b (patch)
treedde292ea421eed48b939dea86fabe6c6eacddbe0 /lib/public/AppFramework
parent2724bb8c867d7abda5cfb0d47f03cbf6e25c2185 (diff)
downloadnextcloud-server-cff48176c3d20a418b8b1272fc1c2c9a10e44c9b.tar.gz
nextcloud-server-cff48176c3d20a418b8b1272fc1c2c9a10e44c9b.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.php2
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;