This commit is contained in:
2020-11-01 04:29:55 +08:00
parent bd44bba081
commit 3e7e4dd306
+2 -1
View File
@@ -65,8 +65,9 @@ class OnReceive extends Callback
* @return mixed
* @throws Exception
*/
public function onHandler(\Swoole\Server $server, string $fd, int $reactorId, string $data)
public function onHandler(\Swoole\Server $server, $fd, $reactorId, $data)
{
var_dump(func_get_args());
try {
$client = [$fd];
if (empty($data = $this->unpack($data))) {