From 078e8338fea898d7782f03d298126c4ebf4015e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 10 Jan 2022 18:57:54 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- Tasker/AsyncTaskExecute.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tasker/AsyncTaskExecute.php b/Tasker/AsyncTaskExecute.php index e99408e..a5158f6 100644 --- a/Tasker/AsyncTaskExecute.php +++ b/Tasker/AsyncTaskExecute.php @@ -9,6 +9,7 @@ use Kiri\Kiri; use ReflectionException; use Kiri\Server\Contract\OnTaskInterface; use Kiri\Server\SwooleServerInterface; +use Swoole\Server; /** @@ -19,9 +20,9 @@ class AsyncTaskExecute extends Component /** - * @var SwooleServerInterface|null + * @var Server|\Swoole\WebSocket\Server|\Swoole\Http\Server */ - public ?SwooleServerInterface $server = null; + public mixed $server = null; private HashMap $hashMap;