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; }