mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
Merge pull request #298 from huangzhhui/master
Adapte new version of openzipkin/zipkin
This commit is contained in:
commit
a5b6c5463f
@ -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
|
||||
|
||||
|
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user