From: Daniel Kesselberg Date: Thu, 25 Jun 2020 20:56:28 +0000 (+0200) Subject: Update presign method to match with interface again. X-Git-Tag: v20.0.0beta1~345^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F21588%2Fhead;p=nextcloud-server.git Update presign method to match with interface again. Signed-off-by: Daniel Kesselberg --- diff --git a/lib/private/Files/ObjectStore/S3Signature.php b/lib/private/Files/ObjectStore/S3Signature.php index f9ea2e22aad..bcd1eef7b2a 100644 --- a/lib/private/Files/ObjectStore/S3Signature.php +++ b/lib/private/Files/ObjectStore/S3Signature.php @@ -73,7 +73,8 @@ class S3Signature implements SignatureInterface { public function presign( RequestInterface $request, CredentialsInterface $credentials, - $expires + $expires, + array $options = [] ) { $query = []; // URL encoding already occurs in the URI template expansion. Undo that