Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a900ca8

Browse filesBrowse files
committed
chore: PHP CS Fixer fixes
1 parent 5fca27b commit a900ca8
Copy full SHA for a900ca8

File tree

1 file changed

+2
-5
lines changed
Filter options
  • src/Symfony/Component/Runtime/Tests/phpt

1 file changed

+2
-5
lines changed

‎src/Symfony/Component/Runtime/Tests/phpt/kernel.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Runtime/Tests/phpt/kernel.php
+2-5Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
require __DIR__.'/autoload.php';
1717

18-
class TestKernel implements HttpKernelInterface
19-
{
18+
return fn (array $context) => new class($context['APP_ENV'], $context['SOME_VAR']) implements HttpKernelInterface {
2019
private string $env;
2120
private string $var;
2221

@@ -30,6 +29,4 @@ public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = tr
3029
{
3130
return new Response('OK Kernel (env='.$this->env.') '.$this->var);
3231
}
33-
}
34-
35-
return fn (array $context) => new TestKernel($context['APP_ENV'], $context['SOME_VAR']);
32+
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.