File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3333use Psr \Http \Message \ServerRequestInterface ;
3434use Throwable ;
3535
36+ use function Hyperf \Coroutine \wait ;
37+
3638class Client extends Server
3739{
3840 protected PackerInterface $ packer ;
Original file line number Diff line number Diff line change 1414use GuzzleHttp \Client ;
1515use Hyperf \Collection \Arr ;
1616use Hyperf \Contract \PackerInterface ;
17+ use Hyperf \Coroutine \Coroutine ;
1718use Hyperf \Guzzle \CoroutineHandler ;
18- use Hyperf \Utils \Coroutine ;
1919use Hyperf \Utils \Packer \JsonPacker ;
2020use Psr \Container \ContainerInterface ;
2121use Psr \Http \Message \UriInterface ;
Original file line number Diff line number Diff line change 1515use Hyperf \Context \ApplicationContext ;
1616use Hyperf \Contract \ConfigInterface ;
1717use Hyperf \Contract \NormalizerInterface ;
18+ use Hyperf \Coroutine \Coroutine ;
19+ use Hyperf \Coroutine \Waiter ;
1820use Hyperf \Di \ClosureDefinitionCollectorInterface ;
1921use Hyperf \Di \Container ;
2022use Hyperf \Di \MethodDefinitionCollector ;
2931use Hyperf \Server \Server ;
3032use Hyperf \Testing \Client ;
3133use Hyperf \Utils \Codec \Json ;
32- use Hyperf \Utils \Coroutine ;
3334use Hyperf \Utils \Filesystem \Filesystem ;
3435use Hyperf \Utils \Serializer \SimpleNormalizer ;
35- use Hyperf \Utils \Waiter ;
3636use HyperfTest \Testing \Stub \Exception \Handler \FooExceptionHandler ;
3737use HyperfTest \Testing \Stub \FooController ;
3838use Mockery ;
Original file line number Diff line number Diff line change 1616use PHPUnit \Framework \TestCase ;
1717use Psr \Container \ContainerInterface ;
1818
19+ use function Hyperf \Coroutine \run ;
20+
1921/**
2022 * @internal
2123 * @coversNothing
Original file line number Diff line number Diff line change 1212namespace HyperfTest \Testing \Stub ;
1313
1414use Hyperf \Context \Context ;
15- use Hyperf \Utils \Coroutine ;
15+ use Hyperf \Coroutine \Coroutine ;
1616use Psr \Http \Message \ServerRequestInterface ;
1717use RuntimeException ;
1818
You can’t perform that action at this time.
0 commit comments