From 708afb91ca19e7bc1ea92f25a4f2330354cfff71 Mon Sep 17 00:00:00 2001 From: Eric Chow <88537011+ecmchow@users.noreply.github.com> Date: Thu, 7 Apr 2022 13:53:50 +0800 Subject: [PATCH] corrected object --- src/Socket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socket.php b/src/Socket.php index d3cd322..6ca0424 100644 --- a/src/Socket.php +++ b/src/Socket.php @@ -346,7 +346,7 @@ public function onack($packet) call_user_func($ack, $packet['data']); unset($this->acks[$packet['id']]); } else { - echo ('bad ack '. packet.id); + echo ('bad ack '. $packet['id']); } }