Skip to content

Commit ef89eca

Browse files
samdarkStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 7b70ae4 commit ef89eca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Middleware/ErrorCatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function createServerRequest(string $method, array $headers = []): Serve
170170

171171
private function createRequestHandlerWithThrowable(): RequestHandlerInterface
172172
{
173-
return new class() implements RequestHandlerInterface {
173+
return new class () implements RequestHandlerInterface {
174174
public function handle(ServerRequestInterface $request): ResponseInterface
175175
{
176176
throw new RuntimeException();

tests/Middleware/ExceptionResponderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private function process(ExceptionResponder $middleware): ResponseInterface
5555
{
5656
return $middleware->process(
5757
(new ServerRequestFactory())->createServerRequest(Method::GET, 'http://example.com'),
58-
new class() implements RequestHandlerInterface {
58+
new class () implements RequestHandlerInterface {
5959
public function handle(ServerRequestInterface $request): ResponseInterface
6060
{
6161
throw new DomainException();

0 commit comments

Comments
 (0)