改名
This commit is contained in:
@@ -67,6 +67,9 @@ abstract class ClientAbstracts implements IClient
|
|||||||
*/
|
*/
|
||||||
public function getBody(): string|ResponseInterface|null
|
public function getBody(): string|ResponseInterface|null
|
||||||
{
|
{
|
||||||
|
if ($this->body instanceof ResponseInterface) {
|
||||||
|
return $this->body->getBody()->getContents();
|
||||||
|
}
|
||||||
return $this->body;
|
return $this->body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user