mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
commit
c07e7b6cc4
@ -64,7 +64,7 @@ class MethodTask
|
||||
|
||||
$container = ApplicationContext::getContainer();
|
||||
$exec = $container->get(TaskExecutor::class);
|
||||
$result = $exec->execute(new Task([MethodTask::class, 'handle'], Coroutine::id()));
|
||||
$result = $exec->execute(new Task([MethodTask::class, 'handle'], [Coroutine::id()]));
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user