fixup! Add fix response

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/10967/head
Roeland Jago Douma 7 years ago
parent a891f42a5d
commit 7d9052d4b9
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      lib/public/AppFramework/Http/ZipResponse.php

@ -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…
Cancel
Save