Test Failed
Pull Request — master (#803)
by butschster
15:39
created
src/Framework/Filter/ValidationHandlerMiddleware.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,12 @@
 block discarded – undo
33 33
 
34 34
     public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
35 35
     {
36
-        try {
36
+        try
37
+        {
37 38
             return $handler->handle($request);
38
-        } catch (ValidationException $e) {
39
+        }
40
+        catch (ValidationException $e)
41
+        {
39 42
             return $this->renderErrors->render($e->errors, $e->context);
40 43
         }
41 44
     }
Please login to merge, or discard this patch.