Skip to content

Commit 7895941

Browse files
authored
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565)
1 parent 7175e9e commit 7895941

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
*/
1212
namespace Hyperf\Redis;
1313

14+
use Hyperf\Context\Context;
1415
use Hyperf\Redis\Exception\InvalidRedisConnectionException;
1516
use Hyperf\Redis\Pool\PoolFactory;
16-
use Hyperf\Utils\Context;
1717

1818
/**
1919
* @mixin \Redis

tests/RedisTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace HyperfTest\Redis;
1313

1414
use Hyperf\Config\Config;
15+
use Hyperf\Context\Context;
1516
use Hyperf\Contract\ConfigInterface;
1617
use Hyperf\Di\Container;
1718
use Hyperf\Pool\Channel;
@@ -23,7 +24,6 @@
2324
use Hyperf\Redis\Redis;
2425
use Hyperf\Redis\RedisProxy;
2526
use Hyperf\Utils\ApplicationContext;
26-
use Hyperf\Utils\Context;
2727
use Hyperf\Utils\Coroutine;
2828
use HyperfTest\Redis\Stub\RedisPoolFailedStub;
2929
use HyperfTest\Redis\Stub\RedisPoolStub;

0 commit comments

Comments
 (0)