diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-07 10:49:08 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-03-07 14:06:08 +0100 |
commit | 82fbab46323cfa049b3d708631afe16635d30a37 (patch) | |
tree | 8042758d172965b0dbfe20415502baf8c92a5f8c /lib/public | |
parent | 3056bc4962bd3a6f3a42bf5670256afa5076ee54 (diff) | |
download | nextcloud-server-82fbab46323cfa049b3d708631afe16635d30a37.tar.gz nextcloud-server-82fbab46323cfa049b3d708631afe16635d30a37.zip |
fix: Swap method and uri parameter in request to match upstream order
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Http/Client/IClient.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Http/Client/IClient.php b/lib/public/Http/Client/IClient.php index 7bb3c032ea0..c6b7cafe73f 100644 --- a/lib/public/Http/Client/IClient.php +++ b/lib/public/Http/Client/IClient.php @@ -219,8 +219,8 @@ interface IClient { /** * Sends a HTTP request - * @param string $uri * @param string $method The HTTP method to use + * @param string $uri * @param array $options Array such as * 'query' => [ * 'field' => 'abc', @@ -246,7 +246,7 @@ interface IClient { * @throws \Exception If the request could not get completed * @since 29.0.0 */ - public function request(string $uri, string $method, array $options = []): IResponse; + public function request(string $method, string $uri, array $options = []): IResponse; /** * Sends an asynchronous GET request |