Merge pull request #21638 from nextcloud/backport/21588/stable19

[stable19] Update presign method to match with interface again.
This commit is contained in:
Roeland Jago Douma 2020-07-02 09:06:53 +02:00 committed by GitHub
commit 7fd34d5d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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