Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
  • Loading branch information
samsonasik committed Jul 21, 2022
1 parent 9b64e20 commit a1a0546
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/Middleware/PathMiddlewareDecoratorIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ static function ($request) use ($originalRequest) {
})
)
->willReturnCallback(
static fn(ServerRequestInterface $request, RequestHandlerInterface $next): ResponseInterface => $next->handle($request)
static fn(
ServerRequestInterface $request,
RequestHandlerInterface $next): ResponseInterface => $next->handle($request)
);

$pipeline->pipe($decorated);
Expand Down
4 changes: 3 additions & 1 deletion test/MiddlewarePipeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ public function testHandleProcessesEnqueuedMiddleware(): void
$this->request
)
->willReturnCallback(
static fn(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface => $handler->handle($request)
static fn(
ServerRequestInterface $request,
RequestHandlerInterface $handler): ResponseInterface => $handler->handle($request)
);
$middleware2 = $this->createMock(MiddlewareInterface::class);
$middleware2
Expand Down

0 comments on commit a1a0546

Please sign in to comment.