Compare commits

..

1 Commits

Author SHA1 Message Date
as2252258 1d4554dbe7 改名 2021-11-18 15:54:44 +08:00
-3
View File
@@ -67,9 +67,6 @@ abstract class ClientAbstracts implements IClient
*/
public function getBody(): string|ResponseInterface|null
{
if ($this->body instanceof ResponseInterface) {
return $this->body->getBody()->getContents();
}
return $this->body;
}