This commit is contained in:
2021-03-08 14:43:52 +08:00
parent 8add053094
commit c45665c1fd
3 changed files with 33 additions and 10 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class OnReceive extends Callback
* @return mixed
* @throws Exception
*/
public function onHandler(\Swoole\Server $server, int $fd, int $reID, string $data): mixed
public function onHandler(Server $server, int $fd, int $reID, string $data): mixed
{
try {
$client = $server->getClientInfo($fd, $reID);