Merge pull request #25704 from nextcloud/backport/25700/stable19
[stable19] Initialize \OCP\AppFramework\Http\ZipResponse::$resources
This commit is contained in:
commit
9f0f913271
|
@ -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…
Reference in New Issue