Initialize \OCP\AppFramework\Http\ZipResponse::$resources
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
42de5042ba
commit
5b15e16706
|
@ -38,7 +38,7 @@ use OCP\IRequest;
|
||||||
*/
|
*/
|
||||||
class ZipResponse extends Response implements ICallbackResponse {
|
class ZipResponse extends Response implements ICallbackResponse {
|
||||||
/** @var resource[] Files to be added to the zip response */
|
/** @var resource[] Files to be added to the zip response */
|
||||||
private $resources;
|
private $resources = [];
|
||||||
/** @var string Filename that the zip file should have */
|
/** @var string Filename that the zip file should have */
|
||||||
private $name;
|
private $name;
|
||||||
private $request;
|
private $request;
|
||||||
|
|
Loading…
Reference in New Issue