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

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-02-17 19:59:27 +01:00 committed by backportbot[bot]
parent 2724bb8c86
commit cff48176c3
1 changed files with 1 additions and 1 deletions

View File

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