diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-17 19:59:27 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-02-17 21:28:28 +0000 |
commit | cff48176c3d20a418b8b1272fc1c2c9a10e44c9b (patch) | |
tree | dde292ea421eed48b939dea86fabe6c6eacddbe0 /lib/public/AppFramework | |
parent | 2724bb8c867d7abda5cfb0d47f03cbf6e25c2185 (diff) | |
download | nextcloud-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.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; |