From b84449d21bfec47814b94f50abc07a7e5f9cd6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 30 Mar 2021 19:33:14 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/HttpParams.php b/HttpServer/Http/HttpParams.php index af009d5c..48c596b0 100644 --- a/HttpServer/Http/HttpParams.php +++ b/HttpServer/Http/HttpParams.php @@ -42,7 +42,7 @@ class HttpParams * @param $files * @param array $socket */ - public function __construct($body, $get, $files, $socket = []) + public function __construct(mixed $body, ?array $get, ?array $files, $socket = []) { $this->gets = $get ?? []; $this->files = $files ?? [];