summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/S3Signature.php
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-06-14 20:20:19 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-06-16 15:54:44 +0200
commitae1f5cc56dffb8323c29838b76b9cded39ae99e6 (patch)
treeef50c4a0a2e322f5423d6f0e4891a91ea1751554 /lib/private/Files/ObjectStore/S3Signature.php
parent232279a55116c9bf92e666b6b15507f73ff3313e (diff)
downloadnextcloud-server-ae1f5cc56dffb8323c29838b76b9cded39ae99e6.tar.gz
nextcloud-server-ae1f5cc56dffb8323c29838b76b9cded39ae99e6.zip
fix(S3): Adjust usage of guzzle promise
`Promise\promise_for` was deprecated and is now removed and replaced with the static API (`Create::promiseFor`). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/private/Files/ObjectStore/S3Signature.php')
-rw-r--r--lib/private/Files/ObjectStore/S3Signature.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3Signature.php b/lib/private/Files/ObjectStore/S3Signature.php
index fd24a34b090..e3a522b6581 100644
--- a/lib/private/Files/ObjectStore/S3Signature.php
+++ b/lib/private/Files/ObjectStore/S3Signature.php
@@ -93,7 +93,7 @@ class S3Signature implements SignatureInterface {
}
}
- $queryString = http_build_query($query, null, '&', PHP_QUERY_RFC3986);
+ $queryString = http_build_query($query, '', '&', PHP_QUERY_RFC3986);
return $request->withUri($request->getUri()->withQuery($queryString));
}