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;
class OnShutdown
@@ -9,9 +11,9 @@ class OnShutdown
/**
* @param Server|null $server
* @param Server|CHServer|CServer|null $server
*/
public function __construct(public ?Server $server = null)
public function __construct(public Server|null|CHServer|CServer $server = null)
{
}