Completed
Push — master ( abe560...9ae8ae )
by Dominik
02:14
created
src/ErrorHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
      */
56 56
     public function __invoke(Request $request, Response $response, \Exception $exception): Response
57 57
     {
58
-        $request = $exception instanceof HttpException ? $exception->getRequest(): $request;
59
-        $response = $exception instanceof HttpException ? $exception->getResponse(): $response;
58
+        $request = $exception instanceof HttpException ? $exception->getRequest() : $request;
59
+        $response = $exception instanceof HttpException ? $exception->getResponse() : $response;
60 60
 
61 61
         $contentType = $this->contentTypeResolver->getContentType($request);
62 62
 
Please login to merge, or discard this patch.