Skip to content

Commit d629fa9

Browse files
authored
Use Hyperf\Coroutine\Coroutine instead of Hyperf\Utils\Coroutine (#5623)
1 parent 07036cb commit d629fa9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Hyperf\Command;
1313

1414
use Hyperf\Contract\Arrayable;
15-
use Hyperf\Utils\Coroutine;
15+
use Hyperf\Coroutine\Coroutine;
1616
use Hyperf\Utils\Str;
1717
use Psr\EventDispatcher\EventDispatcherInterface;
1818
use Swoole\ExitException;
@@ -29,6 +29,7 @@
2929
use Throwable;
3030

3131
use function Hyperf\Collection\collect;
32+
use function Hyperf\Coroutine\run;
3233

3334
abstract class Command extends SymfonyCommand
3435
{

0 commit comments

Comments
 (0)