From 1126ac5a43b8af52a04f2ac099696d9ea30f6c8c Mon Sep 17 00:00:00 2001 From: Artem Henvald Date: Wed, 11 Sep 2024 22:17:23 +0300 Subject: [PATCH] Update BroadcastCommand.php --- Model/BroadcastCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/BroadcastCommand.php b/Model/BroadcastCommand.php index 43a8642..0d008d0 100755 --- a/Model/BroadcastCommand.php +++ b/Model/BroadcastCommand.php @@ -29,7 +29,7 @@ final class BroadcastCommand extends AbstractCommand public function __construct(array $data, private readonly array $channels, bool $skipHistory = false, array $tags = [], string $base64data = '') { $params = [ - 'channels' => $channels, + 'channels' => \array_values($channels), 'data' => $data, ];