Skip to content

Commit

Permalink
Merge pull request #25700 from nextcloud/fix/zipresponse-initialize-a…
Browse files Browse the repository at this point in the history
…rray

Initialize \OCP\AppFramework\Http\ZipResponse::$resources
  • Loading branch information
rullzer authored Feb 17, 2021
2 parents 00d1a58 + 08d4458 commit 82f4bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public/AppFramework/Http/ZipResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 82f4bb0

Please sign in to comment.