walkor 2 gadi atpakaļ
vecāks
revīzija
0b02a55864
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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]);
                     unset($this->eventTimer[$timerId]);
                 }
                 }
                 try {
                 try {
-                    $taskData[0]($taskData[1]);
+                    $taskData[0](...$taskData[1]);
                 } catch (Throwable $e) {
                 } catch (Throwable $e) {
                     Worker::stopAll(250, $e);
                     Worker::stopAll(250, $e);
                 }
                 }