变更
This commit is contained in:
@@ -2,18 +2,14 @@
|
||||
|
||||
namespace Kiri\Server\Contract;
|
||||
|
||||
|
||||
use Swoole\WebSocket\Server;
|
||||
|
||||
interface OnDisconnectInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $fd
|
||||
*/
|
||||
public function onDisconnect(Server $server, int $fd): void;
|
||||
public function OnDisconnect(int $fd): void;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user