We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b7671 commit d62781dCopy full SHA for d62781d
src/OneBot/Driver/Workerman/Socket/WSServerSocket.php
@@ -43,7 +43,7 @@ public function sendMultiple($data, ?callable $filter = null): array
43
}
44
foreach ($this->connections as $fd => $connection) {
45
if ($connection->getStatus() === TcpConnection::STATUS_ESTABLISHED && ($filter === null || $filter($fd, $this))) {
46
- $result[$fd] = $connection->send($data->getData());
+ $result[$fd] = $connection->send($data);
47
48
49
return $result;
0 commit comments