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
@@ -2,6 +2,8 @@
namespace Kiri\Server\Events;
use Swoole\Coroutine\Http\Server as CHServer;
use Swoole\Coroutine\Server as CServer;
use Swoole\Server;
/**
@@ -12,10 +14,10 @@ class OnWorkerStop
/**
* @param Server $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)
{
}