modify plugin name

This commit is contained in:
2022-06-20 17:25:01 +08:00
parent 06db2fee3a
commit 005b33c9d6
6 changed files with 237 additions and 9 deletions
+4 -2
View File
@@ -3,6 +3,8 @@
namespace Kiri\Server\Events;
use Swoole\Server;
use Swoole\Coroutine\Server as CServer;
use Swoole\Coroutine\Http\Server as CHServer;
/**
*
@@ -12,10 +14,10 @@ class OnWorkerStart
/**
* @param Server|null $server
* @param Server|CHServer|CServer|null $server
* @param int $workerId
*/
public function __construct(public ?Server $server, public int $workerId)
public function __construct(public Server|null|CHServer|CServer $server, public int $workerId)
{
}