Fixed bug that acm client::$servers must be accessed before initialization. (#5909)

This commit is contained in:
李铭昕 2023-07-07 11:00:37 +08:00 committed by GitHub
parent b7d1086caf
commit 238d625cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# v3.0.28 - TBD
## Fixed
- [#5909](https://github.com/hyperf/hyperf/pull/5909) Fixed bug that acm `client::$servers` must be accessed before initialization.
## Added
- [#5895](https://github.com/hyperf/hyperf/pull/5895) Added strict mode support for `Integer` and `Boolean`.

View File

@ -29,7 +29,7 @@ class Client implements ClientInterface
private LoggerInterface $logger;
private array $servers;
private array $servers = [];
/**
* @var array[]