eee
This commit is contained in:
@@ -9,10 +9,10 @@ interface OnDisconnectInterface
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $fd
|
||||
* @param Server|\Swoole\Coroutine\Http\Server $server
|
||||
* @param int $fd
|
||||
* @return void
|
||||
*/
|
||||
public function onDisconnect(Server $server, int $fd): void;
|
||||
public function onDisconnect(Server|\Swoole\Coroutine\Http\Server $server, int $fd): void;
|
||||
|
||||
}
|
||||
|
||||
@@ -10,10 +10,10 @@ interface OnMessageInterface
|
||||
|
||||
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param Frame $frame
|
||||
* @param Server|\Swoole\Coroutine\Http\Server $server
|
||||
* @param Frame $frame
|
||||
* @return void
|
||||
*/
|
||||
public function onMessage(Server $server, Frame $frame): void;
|
||||
public function onMessage(Server|\Swoole\Coroutine\Http\Server $server, Frame $frame): void;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user