From 1a93203da37beb87bee9d07bbdfdd613581cadf6 Mon Sep 17 00:00:00 2001 From: spiralbot Date: Sun, 29 Dec 2024 18:43:13 +0000 Subject: [PATCH] refactor: add closure void return type in tests (#1180) --- tests/Interceptor/Push/CoreTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Interceptor/Push/CoreTest.php b/tests/Interceptor/Push/CoreTest.php index 98f032b..0b3b1dc 100644 --- a/tests/Interceptor/Push/CoreTest.php +++ b/tests/Interceptor/Push/CoreTest.php @@ -84,7 +84,7 @@ public function testCallWithTracerContext(): void && $payload === ['baz' => 'baf'] && $options->getHeader('foo') === ['bar']); - ContainerScope::runScope($container, function() use($core) { + ContainerScope::runScope($container, function() use($core): void { $core->callAction('foo', 'bar', [ 'id' => 'job-id', 'payload' => ['baz' => 'baf'],