From 8c2f08d7fc2b346ba7d5f81012c07c78d3e36256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 8 Jan 2021 11:51:16 +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 --- HttpServer/Client/ClientAbstracts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Client/ClientAbstracts.php b/HttpServer/Client/ClientAbstracts.php index b8644195..30722380 100644 --- a/HttpServer/Client/ClientAbstracts.php +++ b/HttpServer/Client/ClientAbstracts.php @@ -576,9 +576,9 @@ abstract class ClientAbstracts extends Component implements IClient /** * @param $data * @param $body - * @return array + * @return array|string */ - protected function resolve($data, $body): array + protected function resolve($data, $body): array|string { if (is_array($body)) { return $body;