改名
This commit is contained in:
@@ -375,7 +375,7 @@ class Snowflake
|
|||||||
* @return Server|null
|
* @return Server|null
|
||||||
* @throws
|
* @throws
|
||||||
*/
|
*/
|
||||||
public static function getWebSocket(): ?Server
|
public static function getWebSocket(): ?\Swoole\Server
|
||||||
{
|
{
|
||||||
$server = static::app()->getSwoole();
|
$server = static::app()->getSwoole();
|
||||||
if (!($server instanceof \Swoole\Server)) {
|
if (!($server instanceof \Swoole\Server)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user