diff --git a/src/ParallelPolling.php b/src/ParallelPolling.php index 0faa2c6..611c1dd 100644 --- a/src/ParallelPolling.php +++ b/src/ParallelPolling.php @@ -32,6 +32,6 @@ protected function fire(Nutgram $bot, array|null $updates): void }; } - $this->pool->run($tasks); + $this->pool->run(...$tasks); } }