diff --git a/src/Redis.php b/src/Redis.php index e0f9c15..1e23ac6 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -11,9 +11,9 @@ */ namespace Hyperf\Redis; +use Hyperf\Context\Context; use Hyperf\Redis\Exception\InvalidRedisConnectionException; use Hyperf\Redis\Pool\PoolFactory; -use Hyperf\Utils\Context; /** * @mixin \Redis diff --git a/tests/RedisTest.php b/tests/RedisTest.php index 75624c9..8790c5b 100644 --- a/tests/RedisTest.php +++ b/tests/RedisTest.php @@ -12,6 +12,7 @@ namespace HyperfTest\Redis; use Hyperf\Config\Config; +use Hyperf\Context\Context; use Hyperf\Contract\ConfigInterface; use Hyperf\Di\Container; use Hyperf\Pool\Channel; @@ -23,7 +24,6 @@ use Hyperf\Redis\Redis; use Hyperf\Redis\RedisProxy; use Hyperf\Utils\ApplicationContext; -use Hyperf\Utils\Context; use Hyperf\Utils\Coroutine; use HyperfTest\Redis\Stub\RedisPoolFailedStub; use HyperfTest\Redis\Stub\RedisPoolStub;