Passed
Push — master ( 1154fe...e155c6 )
by Andreas
10:38
created
lib/midcom/baseclasses/components/handler/rest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,8 @@
 block discarded – undo
181 181
             if ($this->_response === null) {
182 182
                 $this->_stop('Could not handle request, unknown method', Response::HTTP_METHOD_NOT_ALLOWED);
183 183
             }
184
-        } catch (midcom_error $e) {
184
+        }
185
+        catch (midcom_error $e) {
185 186
             $this->_responseStatus = $e->getCode();
186 187
             return $this->_send_response($e->getMessage());
187 188
         }
Please login to merge, or discard this patch.