modify plugin name
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Kiri\Server\Contract;
|
||||
|
||||
use Swoole\Server;
|
||||
|
||||
use Swoole\WebSocket\Server;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -13,9 +13,11 @@ interface OnCloseInterface
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $fd
|
||||
* @return void
|
||||
*/
|
||||
public function onClose(int $fd): void;
|
||||
public function onClose(Server $server, int $fd): void;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user