From 215ebea43eacc94c37cbeb54855c1e28677743bc Mon Sep 17 00:00:00 2001 From: lwj <465382251@qq.com> Date: Thu, 2 Dec 2021 11:35:37 +0800 Subject: [PATCH] websocket v5 reconnection --- src/Api/WebSocketV5/SocketFunction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/WebSocketV5/SocketFunction.php b/src/Api/WebSocketV5/SocketFunction.php index 517e223..f3850b2 100644 --- a/src/Api/WebSocketV5/SocketFunction.php +++ b/src/Api/WebSocketV5/SocketFunction.php @@ -96,7 +96,7 @@ private function reconnection($global,$type='public',array $keysecret=[]){ if($type=='public'){ $temp=[]; foreach ($all_sub as $v){ - if(!is_array($v)) $temp[]=$v; + $temp[]=$v; } }else{ $this->keysecret=$keysecret;