diff --git a/src/Adapter/Reporter/HttpClientFactory.php b/src/Adapter/Reporter/HttpClientFactory.php index b4d751d..605cabc 100644 --- a/src/Adapter/Reporter/HttpClientFactory.php +++ b/src/Adapter/Reporter/HttpClientFactory.php @@ -14,8 +14,8 @@ use Closure; use Hyperf\Coordinator\Constants; use Hyperf\Coordinator\CoordinatorManager; -use Hyperf\Coroutine\Coroutine; use Hyperf\Engine\Channel; +use Hyperf\Engine\Coroutine; use Hyperf\Guzzle\ClientFactory; use RuntimeException; use Throwable; diff --git a/src/Adapter/Reporter/KafkaClientFactory.php b/src/Adapter/Reporter/KafkaClientFactory.php index bf22305..4a6cf8a 100644 --- a/src/Adapter/Reporter/KafkaClientFactory.php +++ b/src/Adapter/Reporter/KafkaClientFactory.php @@ -14,8 +14,8 @@ use Closure; use Hyperf\Coordinator\Constants; use Hyperf\Coordinator\CoordinatorManager; -use Hyperf\Coroutine\Coroutine; use Hyperf\Engine\Channel; +use Hyperf\Engine\Coroutine; use Hyperf\Tracer\Exception\ConnectionClosedException; use longlang\phpkafka\Producer\Producer; use longlang\phpkafka\Producer\ProducerConfig; diff --git a/src/Aspect/CoroutineAspect.php b/src/Aspect/CoroutineAspect.php index d6b52db..3536ce1 100644 --- a/src/Aspect/CoroutineAspect.php +++ b/src/Aspect/CoroutineAspect.php @@ -11,9 +11,9 @@ */ namespace Hyperf\Tracer\Aspect; -use Hyperf\Coroutine\Coroutine as Co; use Hyperf\Di\Aop\AbstractAspect; use Hyperf\Di\Aop\ProceedingJoinPoint; +use Hyperf\Engine\Coroutine as Co; use Hyperf\Tracer\SpanTagManager; use Hyperf\Tracer\SwitchManager; use Hyperf\Tracer\TracerContext;