Skip to content

Commit ae9d215

Browse files
committed
run lint
1 parent 4c071f0 commit ae9d215

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/HttpTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ public function testCanGetEnvironmentVariable(): void
8080

8181
public function testCanGetResources(): void
8282
{
83-
Http::setResource('rand', fn() => rand());
84-
Http::setResource('first', fn($second) => "first-{$second}", ['second']);
85-
Http::setResource('second', fn() => 'second');
83+
Http::setResource('rand', fn () => rand());
84+
Http::setResource('first', fn ($second) => "first-{$second}", ['second']);
85+
Http::setResource('second', fn () => 'second');
8686

8787
$second = $this->app->getResource('second');
8888
$first = $this->app->getResource('first');
@@ -117,8 +117,8 @@ public function testCanGetResources(): void
117117

118118
public function testCanGetDefaultValueWithFunction(): void
119119
{
120-
Http::setResource('first', fn($second) => "first-{$second}", ['second']);
121-
Http::setResource('second', fn() => 'second');
120+
Http::setResource('first', fn ($second) => "first-{$second}", ['second']);
121+
Http::setResource('second', fn () => 'second');
122122

123123
$second = $this->app->getResource('second');
124124
$first = $this->app->getResource('first');
@@ -163,7 +163,7 @@ public function testCanGetDefaultValueWithFunction(): void
163163

164164
public function testCanExecuteRoute(): void
165165
{
166-
Http::setResource('rand', fn() => rand());
166+
Http::setResource('rand', fn () => rand());
167167
$resource = $this->app->getResource('rand');
168168

169169
$this->app
@@ -754,7 +754,7 @@ public function testWildcardRoute(): void
754754
->inject('response')
755755
->action(function (Request $request, Response $response) {
756756
$route = $this->app->getRoute();
757-
Http::setResource('myRoute', fn() => $route);
757+
Http::setResource('myRoute', fn () => $route);
758758

759759
if ($request->getURI() === '/init_response') {
760760
$response->send('THIS IS RESPONSE FROM INIT!');

0 commit comments

Comments
 (0)