Skip to content

Commit 816c5b7

Browse files
committed
Bump guzzlehttp to 7.4.5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent 50dc873 commit 816c5b7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

3rdparty

Submodule 3rdparty updated 806 files

tests/lib/Http/Client/ResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace Test\Http\Client;
1010

1111
use GuzzleHttp\Psr7\Response as GuzzleResponse;
12-
use function GuzzleHttp\Psr7\stream_for;
12+
use GuzzleHttp\Psr7\Utils;
1313
use OC\Http\Client\Response;
1414

1515
/**
@@ -25,7 +25,7 @@ protected function setUp(): void {
2525
}
2626

2727
public function testGetBody() {
28-
$response = new Response($this->guzzleResponse->withBody(stream_for('MyResponse')));
28+
$response = new Response($this->guzzleResponse->withBody(Utils::streamFor('MyResponse')));
2929
$this->assertSame('MyResponse', $response->getBody());
3030
}
3131

0 commit comments

Comments
 (0)