File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
"require" : {
20
20
"php" : " >=8.0" ,
21
21
"hyperf/code-parser" : " ~3.0.0" ,
22
+ "hyperf/coroutine" : " ~3.0.0" ,
22
23
"hyperf/grpc" : " ~3.0.0" ,
23
- "hyperf/utils" : " ~3.0.0" ,
24
24
"jean85/pretty-package-versions" : " ^1.2|^2.0"
25
25
},
26
26
"autoload" : {
Original file line number Diff line number Diff line change 13
13
14
14
use Google \Protobuf \Internal \Message ;
15
15
use Hyperf \Context \ApplicationContext ;
16
+ use Hyperf \Coroutine \Channel \Pool as ChannelPool ;
16
17
use Hyperf \Grpc \Parser ;
17
18
use Hyperf \Grpc \StatusCode ;
18
19
use Hyperf \GrpcClient \Exception \GrpcClientException ;
19
- use Hyperf \Utils \ChannelPool ;
20
20
use InvalidArgumentException ;
21
21
use Swoole \Http2 \Response ;
22
22
Original file line number Diff line number Diff line change 11
11
*/
12
12
namespace Hyperf \GrpcClient ;
13
13
14
+ use Hyperf \Coroutine \Channel \Pool as ChannelPool ;
14
15
use Hyperf \Coroutine \Coroutine ;
15
16
use Hyperf \Engine \Channel ;
16
17
use Hyperf \Grpc \StatusCode ;
17
18
use Hyperf \GrpcClient \Exception \GrpcClientException ;
18
- use Hyperf \Utils \ChannelPool ;
19
19
use InvalidArgumentException ;
20
20
use RuntimeException ;
21
21
use Swoole \Coroutine \Http2 \Client as SwooleHttp2Client ;
Original file line number Diff line number Diff line change 13
13
14
14
use Grpc \UserReply ;
15
15
use Hyperf \Context \ApplicationContext ;
16
+ use Hyperf \Coroutine \Channel \Pool as ChannelPool ;
16
17
use Hyperf \Coroutine \Coroutine ;
17
18
use Hyperf \Coroutine \Parallel ;
18
19
use Hyperf \Di \Container ;
19
20
use Hyperf \Grpc \Parser ;
20
21
use Hyperf \GrpcClient \BaseClient ;
21
22
use Hyperf \GrpcClient \Exception \GrpcClientException ;
22
- use Hyperf \Utils \ChannelPool ;
23
23
use HyperfTest \GrpcClient \Stub \HiClient ;
24
24
use Mockery ;
25
25
use PHPUnit \Framework \TestCase ;
Original file line number Diff line number Diff line change 12
12
namespace HyperfTest \GrpcClient ;
13
13
14
14
use Hyperf \Context \ApplicationContext ;
15
+ use Hyperf \Coroutine \Channel \Pool as ChannelPool ;
15
16
use Hyperf \Di \Container ;
16
- use Hyperf \Utils \ChannelPool ;
17
17
use HyperfTest \GrpcClient \Stub \UserServiceClient ;
18
18
use Mockery ;
19
19
use PHPUnit \Framework \TestCase ;
Original file line number Diff line number Diff line change 12
12
namespace HyperfTest \GrpcClient ;
13
13
14
14
use Hyperf \Context \ApplicationContext ;
15
+ use Hyperf \Coroutine \Channel \Pool as ChannelPool ;
15
16
use Hyperf \Di \Container ;
16
17
use Hyperf \GrpcClient \Exception \GrpcClientException ;
17
18
use Hyperf \GrpcClient \StreamingCall ;
18
- use Hyperf \Utils \ChannelPool ;
19
19
use HyperfTest \GrpcClient \Stub \RouteGuideClient ;
20
20
use Mockery ;
21
21
use PHPUnit \Framework \TestCase ;
You can’t perform that action at this time.
0 commit comments