From 8c72c636c563f56a695a955238d99b6fb7ed78ee Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 24 Apr 2019 11:23:23 +0200 Subject: [PATCH] fixed bug: type error on large zip download, argument 2 passed to OC\Streamer must be of the type integer, float given --- lib/private/Streamer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Streamer.php b/lib/private/Streamer.php index 51c2c923c2352..4e8b796e46aa9 100644 --- a/lib/private/Streamer.php +++ b/lib/private/Streamer.php @@ -43,7 +43,7 @@ class Streamer { * @param int $numberOfFiles The number of files (and directories) that will * be included in the streamed file */ - public function __construct(IRequest $request, int $size, int $numberOfFiles){ + public function __construct(IRequest $request, float $size, int $numberOfFiles){ /** * zip32 constraints for a basic (without compression, volumes nor