Skip to content

Commit af697ec

Browse files
authored
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565)
1 parent 24be243 commit af697ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
namespace Hyperf\DB;
1313

1414
use Closure;
15+
use Hyperf\Context\Context;
1516
use Hyperf\DB\Exception\DriverNotFoundException;
1617
use Hyperf\DB\Pool\PoolFactory;
1718
use Hyperf\Utils\ApplicationContext;
18-
use Hyperf\Utils\Context;
1919
use Throwable;
2020

2121
/**

tests/Cases/AbstractTestCase.php

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

1414
use Hyperf\Config\Config;
15+
use Hyperf\Context\Context;
1516
use Hyperf\Contract\ConfigInterface;
1617
use Hyperf\Contract\StdoutLoggerInterface;
1718
use Hyperf\DB\DB;
@@ -23,7 +24,6 @@
2324
use Hyperf\Pool\Channel;
2425
use Hyperf\Pool\PoolOption;
2526
use Hyperf\Utils\ApplicationContext;
26-
use Hyperf\Utils\Context;
2727
use Mockery;
2828
use PHPUnit\Framework\TestCase;
2929

0 commit comments

Comments
 (0)