From 92865f3da8f309dbd83e02872844d74e69e0e1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 11 Jan 2021 11:19:34 +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/Service/Abstracts/Server.php | 1 - HttpServer/Service/Abstracts/Tcp.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/HttpServer/Service/Abstracts/Server.php b/HttpServer/Service/Abstracts/Server.php index 40859272..33f6e41b 100644 --- a/HttpServer/Service/Abstracts/Server.php +++ b/HttpServer/Service/Abstracts/Server.php @@ -33,7 +33,6 @@ trait Server /** * @param array $settings - * @return mixed|void */ public function set(array $settings) { diff --git a/HttpServer/Service/Abstracts/Tcp.php b/HttpServer/Service/Abstracts/Tcp.php index b103377d..2c17d86c 100644 --- a/HttpServer/Service/Abstracts/Tcp.php +++ b/HttpServer/Service/Abstracts/Tcp.php @@ -14,11 +14,11 @@ abstract class Tcp extends Server implements Service use \HttpServer\Service\Abstracts\Server; /** @var Closure|array */ - public $unpack; + public array|Closure $unpack; /** @var Closure|array */ - public $pack; + public array|Closure $pack; }