Skip to content

Commit cff4817

Browse files
ChristophWurstbackportbot[bot]
authored andcommitted
Initialize \OCP\AppFramework\Http\ZipResponse::$resources
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 2724bb8 commit cff4817

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/public/AppFramework/Http/ZipResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939
class ZipResponse extends Response implements ICallbackResponse {
4040
/** @var resource[] Files to be added to the zip response */
41-
private $resources;
41+
private $resources = [];
4242
/** @var string Filename that the zip file should have */
4343
private $name;
4444
private $request;

0 commit comments

Comments
 (0)