Merge pull request #25702 from nextcloud/backport/25700/stable21

[stable21] Initialize \OCP\AppFramework\Http\ZipResponse::$resources
This commit is contained in:
Roeland Jago Douma 2021-02-18 08:28:36 +01:00 committed by GitHub
commit 5c3dd4cc74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;