Skip to content

Commit

Permalink
Merge pull request #25702 from nextcloud/backport/25700/stable21
Browse files Browse the repository at this point in the history
[stable21] Initialize \OCP\AppFramework\Http\ZipResponse::$resources
  • Loading branch information
rullzer committed Feb 18, 2021
2 parents 7c11b9e + cff4817 commit 5c3dd4c
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 5c3dd4c

Please sign in to comment.