Skip to content

Commit

Permalink
Use Hyperf\Coroutine\Coroutine instead of Hyperf\Utils\Coroutine
Browse files Browse the repository at this point in the history
…(#5623)
  • Loading branch information
huangdijia authored Apr 12, 2023
1 parent 0293785 commit fa59d48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ConsumerManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Hyperf\Nsq;

use Hyperf\Contract\ConfigInterface;
use Hyperf\Coroutine\Waiter;
use Hyperf\Di\Annotation\AnnotationCollector;
use Hyperf\Nsq\Annotation\Consumer as ConsumerAnnotation;
use Hyperf\Nsq\Event\AfterConsume;
Expand All @@ -21,7 +22,6 @@
use Hyperf\Nsq\Event\FailToConsume;
use Hyperf\Process\AbstractProcess;
use Hyperf\Process\ProcessManager;
use Hyperf\Utils\Waiter;
use Psr\Container\ContainerInterface;
use Psr\EventDispatcher\EventDispatcherInterface;
use Throwable;
Expand Down
2 changes: 1 addition & 1 deletion tests/Stub/ContainerStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

use Hyperf\Context\ApplicationContext;
use Hyperf\Contract\StdoutLoggerInterface;
use Hyperf\Coroutine\Waiter;
use Hyperf\Di\Container;
use Hyperf\Nsq\MessageBuilder;
use Hyperf\Nsq\Nsq;
use Hyperf\Nsq\Pool\NsqPoolFactory;
use Hyperf\Utils\Waiter;
use Mockery;
use Psr\Container\ContainerInterface;
use Psr\EventDispatcher\EventDispatcherInterface;
Expand Down

0 comments on commit fa59d48

Please sign in to comment.