diff options
author | MichaIng <micha@dietpi.com> | 2022-02-22 21:53:01 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2022-02-22 23:07:16 +0100 |
commit | e4588a37d06f607776b731dd19ae862fbe91fe27 (patch) | |
tree | 5d48ee58c74160b679e0eb8274c8f20b4e1fa59c /build/integration/features/bootstrap/FilesDropContext.php | |
parent | a45f88106ce0912dbd537b0623f0f43b6e6ecadb (diff) | |
download | nextcloud-server-e4588a37d06f607776b731dd19ae862fbe91fe27.tar.gz nextcloud-server-e4588a37d06f607776b731dd19ae862fbe91fe27.zip |
Update GuzzleHttp function call for v7
https://github.com/guzzle/guzzle/issues/2824
Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'build/integration/features/bootstrap/FilesDropContext.php')
-rw-r--r-- | build/integration/features/bootstrap/FilesDropContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/FilesDropContext.php b/build/integration/features/bootstrap/FilesDropContext.php index d360f518968..a5d4dad14e3 100644 --- a/build/integration/features/bootstrap/FilesDropContext.php +++ b/build/integration/features/bootstrap/FilesDropContext.php @@ -51,7 +51,7 @@ class FilesDropContext implements Context, SnippetAcceptingContext { $options['headers'] = [ 'X-REQUESTED-WITH' => 'XMLHttpRequest' ]; - $options['body'] = \GuzzleHttp\Psr7\stream_for($content); + $options['body'] = \GuzzleHttp\Psr7\Utils::streamFor($content); try { $this->response = $client->request('PUT', $fullUrl, $options); |