Skip to content

Commit 7ce7184

Browse files
committed
refactor: add closure void return type in tests (#1180)
1 parent e559cd5 commit 7ce7184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PipelineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function process(
107107

108108
$this->container->runScope(
109109
new \Spiral\Core\Scope(name: 'http'),
110-
function (ScopeInterface $c) use ($middleware) {
110+
function (ScopeInterface $c) use ($middleware): void {
111111
$request = new ServerRequest('GET', '');
112112
$handler = new CallableHandler(fn() => 'response', new ResponseFactory(new HttpConfig(['headers' => []])));
113113

0 commit comments

Comments
 (0)