This commit is contained in:
2020-11-01 04:28:56 +08:00
parent 000f0c655e
commit bd44bba081
+1 -1
View File
@@ -65,7 +65,7 @@ class OnReceive extends Callback
* @return mixed
* @throws Exception
*/
public function onHandler(\Swoole\Server $server, int $fd, int $reactorId, string $data)
public function onHandler(\Swoole\Server $server, string $fd, int $reactorId, string $data)
{
try {
$client = [$fd];