Use Hyperf\Coroutine\Coroutine instead of Hyperf\Engine\Coroutine (#6513)

This commit is contained in:
Deeka Wong 2024-01-31 09:39:02 +08:00 committed by GitHub
parent b02ab7bc68
commit 4238efa987
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,10 @@
- [#6509](https://github.com/hyperf/hyperf/pull/6509) Fix the bug that cannot give array type.
## Optimized
- [#6513](https://github.com/hyperf/hyperf/pull/6513) Use `Hyperf\Coroutine\Coroutine` instead of `Hyperf\Engine\Coroutine`.
## Added
- [#6504](https://github.com/hyperf/hyperf/pull/6504) Added `HostReaderInterface` for `rpc-multiplex`.

View File

@ -14,8 +14,8 @@ namespace Hyperf\Tracer\Adapter\Reporter;
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;

View File

@ -14,8 +14,8 @@ namespace Hyperf\Tracer\Adapter\Reporter;
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;

View File

@ -11,9 +11,9 @@ declare(strict_types=1);
*/
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;