Completed
Push — master ( 4258d4...fe7c76 )
by Florian
03:33
created
lib/Payone/Api/Mapper/Response/Refund.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,11 +46,9 @@
 block discarded – undo
46 46
 
47 47
         if ($this->isApproved()) {
48 48
             $response = new Payone_Api_Response_Management_ManageMandate_Approved($params);
49
-        }
50
-        elseif ($this->isError()) {
49
+        } elseif ($this->isError()) {
51 50
             $response = new Payone_Api_Response_Error($params);
52
-        }
53
-        else {
51
+        } else {
54 52
             throw new Payone_Api_Exception_UnknownStatus();
55 53
         }
56 54
 
Please login to merge, or discard this patch.
lib/Payone/Api/Mapper/Response/UpdateAccess.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,11 +46,9 @@
 block discarded – undo
46 46
 
47 47
         if ($this->isApproved()) {
48 48
             $response = new Payone_Api_Response_Management_ManageMandate_Approved($params);
49
-        }
50
-        elseif ($this->isError()) {
49
+        } elseif ($this->isError()) {
51 50
             $response = new Payone_Api_Response_Error($params);
52
-        }
53
-        else {
51
+        } else {
54 52
             throw new Payone_Api_Exception_UnknownStatus();
55 53
         }
56 54
 
Please login to merge, or discard this patch.
lib/Payone/Api/Mapper/Response/Vauthorization.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,11 +46,9 @@
 block discarded – undo
46 46
 
47 47
         if ($this->isApproved()) {
48 48
             $response = new Payone_Api_Response_Management_ManageMandate_Approved($params);
49
-        }
50
-        elseif ($this->isError()) {
49
+        } elseif ($this->isError()) {
51 50
             $response = new Payone_Api_Response_Error($params);
52
-        }
53
-        else {
51
+        } else {
54 52
             throw new Payone_Api_Exception_UnknownStatus();
55 53
         }
56 54
 
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/ManageMandate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/GetFile.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/UpdateAccess.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/GetInvoice.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/CreateAccess.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Debit.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
Please login to merge, or discard this patch.