From 24fbd50c89183c09d60b471a0bec39d86a22293d Mon Sep 17 00:00:00 2001 From: Jerry Date: Fri, 3 Mar 2023 15:27:48 +0800 Subject: [PATCH] fix phpstan --- src/OneBot/V12/OneBot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneBot/V12/OneBot.php b/src/OneBot/V12/OneBot.php index b5d5a99..ecc8a81 100644 --- a/src/OneBot/V12/OneBot.php +++ b/src/OneBot/V12/OneBot.php @@ -258,7 +258,7 @@ public function dispatchEvent(OneBotEvent $event): void if ($socket->getFlag() !== 1) { continue; } - $socket->sendAll($frame_str); + $socket->sendMultiple($frame_str); } foreach ($this->driver->getWSReverseSockets() as $socket) { if ($socket->getFlag() !== 1 || !$socket->getClient()->isConnected()) {