From 1d4554dbe7d30fe80038f6994f2017e3853bcefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 18 Nov 2021 15:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ClientAbstracts.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ClientAbstracts.php b/src/ClientAbstracts.php index 2b04498..08006e8 100644 --- a/src/ClientAbstracts.php +++ b/src/ClientAbstracts.php @@ -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; }