This commit is contained in:
2021-11-30 15:10:01 +08:00
parent e5b57cbcdb
commit b826e1f594
36 changed files with 155 additions and 81 deletions
+4 -3
View File
@@ -2,13 +2,14 @@
namespace Kiri\Server;
use Annotation\Inject;
use Note\Inject;
use Exception;
use Kiri\Abstracts\Config;
use Kiri\Error\Logger;
use Kiri\Exception\ConfigException;
use Kiri\Kiri;
use Kiri\Server\Abstracts\BaseProcess;
use ReflectionException;
use Swoole\Http\Server as HServer;
use Swoole\Process;
use Swoole\Server;
@@ -54,7 +55,7 @@ class SoloAsyncServer implements SwooleServerInterface
/**
* @throws ConfigException|\ReflectionException
* @throws ConfigException|ReflectionException
*/
private function startProcess()
{
@@ -100,7 +101,7 @@ class SoloAsyncServer implements SwooleServerInterface
/**
* @param Server\Port|Server|HServer|WServer $server
* @throws \ReflectionException
* @throws ReflectionException
*/
private function eventListener(mixed $server, array $config): Server\Port|HServer|Server|WServer
{