Skip to content

Commit 7be4124

Browse files
Instead of classes and functions of Hyperf\Utils (#5674)
Co-authored-by: ζŽι“­ζ˜• <[email protected]>
1 parent 30060dd commit 7be4124

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

β€Žcomposer.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"hyperf/contract": "~3.0.0",
2222
"hyperf/di": "~3.0.0",
2323
"hyperf/guzzle": "~3.0.0",
24+
"hyperf/support": "~3.0.0",
2425
"hyperf/utils": "~3.0.0",
2526
"jcchavezs/zipkin-opentracing": "^2.0",
2627
"opentracing/opentracing": "^1.0"

β€Žpublish/opentracing.phpβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
*/
1212
use Zipkin\Samplers\BinarySampler;
1313

14+
use function Hyperf\Support\env;
15+
1416
return [
1517
'default' => env('TRACER_DRIVER', 'zipkin'),
1618
'enable' => [

β€Žtests/TracerFactoryTest.phpβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
use PHPUnit\Framework\TestCase;
2020
use Zipkin\Samplers\BinarySampler;
2121

22+
use function Hyperf\Support\env;
23+
2224
/**
2325
* @internal
2426
* @coversNothing

0 commit comments

Comments
Β (0)