Browse Source

Initialize \OCP\AppFramework\Http\ZipResponse::$resources

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/25700/head
Christoph Wurst 5 years ago
parent
commit
08d4458542
No known key found for this signature in database GPG Key ID: CC42AC2A7F0E56D8
  1. 2
      lib/public/AppFramework/Http/ZipResponse.php

2
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;

Loading…
Cancel
Save