Merge pull request #298 from huangzhhui/master

Adapte new version of openzipkin/zipkin
This commit is contained in:
黄朝晖 2019-07-31 01:07:26 +08:00 committed by GitHub
commit a5b6c5463f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
## Changed
- [#297](https://github.com/hyperf-cloud/hyperf/pull/297) If register service failed, then sleep 10s and re-register, also hided the useless exception message when register service failed.
- [#298](https://github.com/hyperf-cloud/hyperf/pull/298) Adapted openzipkin/zipkin v1.3.3+
## Fixed

View File

@ -31,7 +31,7 @@ class HttpClientFactory implements ClientFactory
/**
* @return callable
*/
public function build(array $options)
public function build(array $options): callable
{
return function ($payload) use ($options) {
$url = $options['endpoint_url'];