eee
This commit is contained in:
@@ -9,10 +9,10 @@ interface OnDisconnectInterface
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Server $server
|
* @param Server|\Swoole\Coroutine\Http\Server $server
|
||||||
* @param int $fd
|
* @param int $fd
|
||||||
* @return void
|
* @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 Server|\Swoole\Coroutine\Http\Server $server
|
||||||
* @param Frame $frame
|
* @param Frame $frame
|
||||||
* @return void
|
* @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