From 2c9581f203dc8958d213952f4f4ff317eff7e955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 19 Nov 2020 10:24:22 +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, 1 insertion(+), 2 deletions(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index 7d8a8f2e..89a94cb2 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -22,8 +22,7 @@ use Snowflake\Snowflake; class HttpParams { - /** @var array */ - private array $body = []; + private ?array $body = []; /** @var array */ private array $gets = [];