Browse Source

Fix timer

walkor 2 năm trước cách đây
mục cha
commit
0b02a55864
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Events/Select.php

+ 1 - 1
src/Events/Select.php

@@ -285,7 +285,7 @@ class Select implements EventInterface
                     unset($this->eventTimer[$timerId]);
                 }
                 try {
-                    $taskData[0]($taskData[1]);
+                    $taskData[0](...$taskData[1]);
                 } catch (Throwable $e) {
                     Worker::stopAll(250, $e);
                 }