Passed
Push — master ( f67632...cc7b4b )
by Dmitry
01:36
created
src/Provider31.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -70,20 +70,16 @@
 block discarded – undo
70 70
                         $this->response = $this->get_response();
71 71
                         
72 72
                         Log::instance()->add('the request was processed successfully');
73
-                }
74
-                catch (Exception\Structure $e)
73
+                } catch (Exception\Structure $e)
75 74
                 {
76 75
                         $this->response = $this->get_error_response($e->getCode(), 'Error in request');
77
-                }
78
-                catch (Exception\Sign $e)
76
+                } catch (Exception\Sign $e)
79 77
                 {
80 78
                         $this->response = $this->get_error_response($e->getCode(), 'Signature error!');
81
-                }
82
-                catch (Exception\Runtime $e)
79
+                } catch (Exception\Runtime $e)
83 80
                 {
84 81
                         $this->response = $this->get_error_response($e->getCode(), 'Error while processing request');
85
-                }
86
-                catch (\Exception $e)
82
+                } catch (\Exception $e)
87 83
                 {
88 84
                         $this->response = $this->get_error_response($e->getCode(), $e->getMessage());
89 85
                 }
Please login to merge, or discard this patch.