Skip to content

Commit 1b5d9b0

Browse files
authored
Use Hyperf\Coroutine\Coroutine instead of Hyperf\Utils\Coroutine (#5623)
1 parent 97a0698 commit 1b5d9b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GrpcClient.php

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

14+
use Hyperf\Coroutine\Coroutine;
1415
use Hyperf\Engine\Channel;
1516
use Hyperf\Grpc\StatusCode;
1617
use Hyperf\GrpcClient\Exception\GrpcClientException;
1718
use Hyperf\Utils\ChannelPool;
18-
use Hyperf\Utils\Coroutine;
1919
use InvalidArgumentException;
2020
use RuntimeException;
2121
use Swoole\Coroutine\Http2\Client as SwooleHttp2Client;

tests/BaseClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
use Grpc\UserReply;
1515
use Hyperf\Context\ApplicationContext;
16+
use Hyperf\Coroutine\Coroutine;
17+
use Hyperf\Coroutine\Parallel;
1618
use Hyperf\Di\Container;
1719
use Hyperf\Grpc\Parser;
1820
use Hyperf\GrpcClient\BaseClient;
1921
use Hyperf\GrpcClient\Exception\GrpcClientException;
2022
use Hyperf\Utils\ChannelPool;
21-
use Hyperf\Utils\Coroutine;
22-
use Hyperf\Utils\Parallel;
2323
use HyperfTest\GrpcClient\Stub\HiClient;
2424
use Mockery;
2525
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)