This commit is contained in:
2023-04-21 23:09:35 +08:00
parent f313860436
commit eb4cc76eee
5 changed files with 61 additions and 2 deletions
+4 -1
View File
@@ -2,6 +2,8 @@
namespace Kiri\Server\Contract;
use Swoole\Server;
/**
*
*/
@@ -10,10 +12,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;
}