From 84a0e124b3dea2404821d552d4c470dd5e2b43e4 Mon Sep 17 00:00:00 2001 From: huangzhhui Date: Wed, 31 Jul 2019 00:32:13 +0800 Subject: [PATCH 1/2] Adapte new version of openzipkin/zipkin --- src/tracer/src/HttpClientFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracer/src/HttpClientFactory.php b/src/tracer/src/HttpClientFactory.php index 2ecd4fde8..8bfc9a5a3 100644 --- a/src/tracer/src/HttpClientFactory.php +++ b/src/tracer/src/HttpClientFactory.php @@ -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']; From b8d9d00c66537f322e51dfa7d10259a0b38226c3 Mon Sep 17 00:00:00 2001 From: huangzhhui Date: Wed, 31 Jul 2019 00:34:24 +0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 261629a94..7ed890e7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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