|
...
|
...
|
@@ -52,9 +52,10 @@ class Response implements ResponseInterface |
|
|
|
*/
|
|
|
|
public function getContents(): string
|
|
|
|
{
|
|
|
|
$response = clone $this->response;
|
|
|
|
$body = $this->response->getBody();
|
|
|
|
$body->rewind();
|
|
|
|
|
|
|
|
return $response->getBody()->getContents();
|
|
|
|
return $body->getContents();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|