Skip to content

Commit

Permalink
refactor: add closure void return type in tests (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Dec 29, 2024
1 parent 4b83549 commit d79fb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/NullTracerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function testWithScopedContainer(): void
->with(SpanInterface::class);
$scope->shouldNotReceive('runScope');

ContainerScope::runScope($container, function () use ($tracer, $callable) {
ContainerScope::runScope($container, function () use ($tracer, $callable): void {
$this->assertSame(
'hello',
$tracer->trace('foo', $callable, ['foo' => 'bar'])
Expand Down

0 comments on commit d79fb0e

Please sign in to comment.