From ae1f5cc56dffb8323c29838b76b9cded39ae99e6 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 14 Jun 2024 20:20:19 +0200 Subject: 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 --- lib/private/Files/ObjectStore/S3Signature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Files/ObjectStore/S3Signature.php') 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)); } -- cgit v1.2.3