|
...
|
...
|
@@ -50,14 +50,8 @@ class Response implements ResponseInterface |
|
|
|
*/
|
|
|
|
public function getContent(): string
|
|
|
|
{
|
|
|
|
static $content = null;
|
|
|
|
|
|
|
|
if (is_null($content)) {
|
|
|
|
$this->response->getBody()->rewind();
|
|
|
|
|
|
|
|
$content = $this->response->getBody()->getContents();
|
|
|
|
}
|
|
|
|
|
|
|
|
return $content;
|
|
|
|
return $this->response->getBody()->getContents();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|