mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-01 19:27:39 +08:00
Adapt swoole 5.0 by removing swoole classes with PSR-0
. (#4406)
* Removed swoole classes with `PSR-0` * Update CHANGELOG-2.2.md
This commit is contained in:
parent
d094b80a0a
commit
0e7054c304
@ -4,6 +4,10 @@
|
||||
|
||||
- [#4399](https://github.com/hyperf/hyperf/pull/4399) Fixed bug that `Redis::scan` does not work when using redis cluster.
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#4406](https://github.com/hyperf/hyperf/pull/4406) Adapt swoole 5.0 by removing swoole classes with `PSR-0`.
|
||||
|
||||
# v2.2.21 - 2021-12-20
|
||||
|
||||
## Fixed
|
||||
|
@ -18,6 +18,7 @@ use Hyperf\GrpcClient\Exception\GrpcClientException;
|
||||
use Hyperf\Utils\ApplicationContext;
|
||||
use Hyperf\Utils\ChannelPool;
|
||||
use InvalidArgumentException;
|
||||
use Swoole\Http2\Response;
|
||||
|
||||
/**
|
||||
* @method int send(Request $request)
|
||||
@ -91,7 +92,7 @@ class BaseClient
|
||||
* @param Message $argument The argument to the method
|
||||
* @param callable $deserialize A function that deserializes the response
|
||||
* @throws GrpcClientException
|
||||
* @return array|\Google\Protobuf\Internal\Message[]|\swoole_http2_response[]
|
||||
* @return array|\Google\Protobuf\Internal\Message[]|Response[]
|
||||
*/
|
||||
protected function _simpleRequest(
|
||||
string $method,
|
||||
|
Loading…
Reference in New Issue
Block a user