Skip to content

Commit 8ac01fc

Browse files
authored
Use Hyperf\Context\ApplicationContext instead of Hyperf\Utils\ApplicationContext. (#5621)
1 parent bffd2c7 commit 8ac01fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/SenderTest.php

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

1414
use Hyperf\Config\Config;
15+
use Hyperf\Context\ApplicationContext;
1516
use Hyperf\Contract\ConfigInterface;
1617
use Hyperf\Contract\StdoutLoggerInterface;
17-
use Hyperf\Utils\ApplicationContext;
1818
use Hyperf\WebSocketServer\Sender;
1919
use HyperfTest\ModelCache\Stub\StdoutLogger;
2020
use Mockery;

tests/ServerTest.php

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

14+
use Hyperf\Context\ApplicationContext;
1415
use Hyperf\Contract\StdoutLoggerInterface;
1516
use Hyperf\Dispatcher\HttpDispatcher;
1617
use Hyperf\ExceptionHandler\ExceptionHandlerDispatcher;
1718
use Hyperf\HttpServer\ResponseEmitter;
18-
use Hyperf\Utils\ApplicationContext;
1919
use Hyperf\Utils\Coroutine;
2020
use Hyperf\Utils\Reflection\ClassInvoker;
2121
use Hyperf\Utils\Waiter;

0 commit comments

Comments
 (0)