From f6a568fe95e00a2af7ba22a84de23d5bc2b26db0 Mon Sep 17 00:00:00 2001 From: Sebastian Helzle Date: Tue, 22 Dec 2020 09:11:21 +0100 Subject: [PATCH] TASK: Fix linting issues --- Classes/Http/Middleware/AddServerTimingMiddleware.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/Http/Middleware/AddServerTimingMiddleware.php b/Classes/Http/Middleware/AddServerTimingMiddleware.php index de6be59..87bbcbe 100644 --- a/Classes/Http/Middleware/AddServerTimingMiddleware.php +++ b/Classes/Http/Middleware/AddServerTimingMiddleware.php @@ -40,7 +40,6 @@ class AddServerTimingMiddleware implements MiddlewareInterface */ protected $debugService; - public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { $response = $handler->handle($request); @@ -61,6 +60,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface } } - return $response->withAddedHeader('Server-Timing', $serverTiming); + return $response->withAddedHeader('Server-Timing', $serverTiming); } }