mirror of
https://github.com/nextcloud/server.git
synced 2026-03-23 19:03:20 -04:00
fixup! Add fix response
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a891f42a5d
commit
7d9052d4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class ZipResponse extends Response implements ICallbackResponse {
|
|||
|
||||
public function addResource($r, string $internalName, int $size, int $time = -1) {
|
||||
if (!\is_resource($r)) {
|
||||
return;
|
||||
throw new \InvalidArgumentException('No resource provided');
|
||||
}
|
||||
|
||||
$this->resources[] = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue