From d454e66cc096e350083cc7009fc8d6cf89f88e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 8 May 2021 11:14:25 +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/Http/HttpParams.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index 0221ef1d..8fb66e9e 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -208,9 +208,6 @@ class HttpParams */ #[Pure] public function load(): array { - if (is_string($this->body)){ - $this->body = Help::toArray($this->body); - } return array_merge($this->files ?? [], $this->body ?? [], $this->gets ?? [], $this->socket ?? []); }