This commit is contained in:
2023-10-24 15:22:15 +08:00
parent 730aa3ec9e
commit a1d80c3315
+1 -5
View File
@@ -12,10 +12,7 @@ use Kiri\Server\Events\OnServerBeforeStart;
use Kiri\Server\Events\OnShutdown; use Kiri\Server\Events\OnShutdown;
use Kiri\Server\Handler\OnServer; use Kiri\Server\Handler\OnServer;
use Kiri\Server\ServerInterface; use Kiri\Server\ServerInterface;
use Kiri\Server\Task\TaskInterface;
use Kiri\Server\Task\Task; use Kiri\Server\Task\Task;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use ReflectionException; use ReflectionException;
use Swoole\Server; use Swoole\Server;
@@ -56,8 +53,7 @@ class AsyncServer implements ServerInterface
/** /**
* @return bool * @return bool
* @throws ContainerExceptionInterface * @throws ReflectionException
* @throws NotFoundExceptionInterface|ReflectionException
*/ */
public function shutdown(): bool public function shutdown(): bool
{ {