@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | public function __construct( |
36 | 36 | private readonly ConfiguratorInterface $config, |
37 | - ) { |
|
37 | + ){ |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | public function init(EnvironmentInterface $env): void |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * @param class-string<TracerFactoryInterface>|TracerFactoryInterface|Autowire $driver |
47 | 47 | */ |
48 | - public function registerTracer(string $name, string|TracerFactoryInterface|Autowire $driver): void |
|
48 | + public function registerTracer(string $name, string | TracerFactoryInterface | Autowire $driver): void |
|
49 | 49 | { |
50 | 50 | $this->config->modify( |
51 | 51 | TelemetryConfig::CONFIG, |
@@ -77,7 +77,8 @@ |
||
77 | 77 | ->with(SpanInterface::class); |
78 | 78 | $scope->shouldNotReceive('runScope'); |
79 | 79 | |
80 | - ContainerScope::runScope($container, function () use ($tracer, $callable) { |
|
80 | + ContainerScope::runScope($container, function () use ($tracer, $callable) |
|
81 | + { |
|
81 | 82 | $this->assertSame( |
82 | 83 | 'hello', |
83 | 84 | $tracer->trace('foo', $callable, ['foo' => 'bar']) |