This commit is contained in:
2022-10-11 18:41:58 +08:00
parent 707bd69eda
commit cedcb89fe4
4 changed files with 4 additions and 12 deletions
+1 -5
View File
@@ -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;
}