diff options
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); |