Completed
Branch master (9c9857)
by Florian
03:27
created
lib/Payone/Api/Service/Payment/Debit.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
             $response = $this->getMapperResponse()->map($responseRaw);
74 74
 
75 75
             $this->protocol($request, $response);
76
-        }
77
-        catch (Exception $e) {
76
+        } catch (Exception $e) {
78 77
             $this->protocolException($e, $request);
79 78
             throw $e;
80 79
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Refund.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,7 @@
 block discarded – undo
74 74
             $response = $this->getMapperResponse()->map($responseRaw);
75 75
 
76 76
             $this->protocol($request, $response);
77
-        }
78
-        catch (Exception $e) {
77
+        } catch (Exception $e) {
79 78
             $this->protocolException($e, $request);
80 79
             throw $e;
81 80
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Vauthorize.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
             $response = $this->getMapperResponse()->map($responseRaw);
72 72
 
73 73
             $this->protocol($request, $response);
74
-        }
75
-        catch (Exception $e) {
74
+        } catch (Exception $e) {
76 75
             $this->protocolException($e, $request);
77 76
             throw $e;
78 77
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Authorize.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
             $requestParams = $this->getMapperRequest()->map($request);
68 68
 
69
-            if($request->isFrontendApiCall() === false) {
69
+            if ($request->isFrontendApiCall() === false) {
70 70
                 $responseRaw = $this->getAdapter()->request($requestParams);
71 71
             } else {
72 72
                 $responseRaw = $request->getFrontendApiResponse();
Please login to merge, or discard this 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/Capture.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
             $response = $this->getMapperResponse()->map($responseRaw);
74 74
 
75 75
             $this->protocol($request, $response);
76
-        }
77
-        catch (Exception $e) {
76
+        } catch (Exception $e) {
78 77
             $this->protocolException($e, $request);
79 78
             throw $e;
80 79
         }
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
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
             $response = $this->getMapperResponse()->map($responseRaw);
74 74
 
75 75
             $this->protocol($request, $response);
76
-        }
77
-        catch (Exception $e) {
76
+        } catch (Exception $e) {
78 77
             $this->protocolException($e, $request);
79 78
             throw $e;
80 79
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Preauthorize.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
             $requestParams = $this->getMapperRequest()->map($request);
76 76
 
77
-            if($request->isFrontendApiCall() === false) {
77
+            if ($request->isFrontendApiCall() === false) {
78 78
                 $responseRaw = $this->getAdapter()->request($requestParams);
79 79
             } else {
80 80
                 $responseRaw = $request->getFrontendApiResponse();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/ProtocolRequest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param null|Payone_Api_Response_Interface $response
45 45
      */
46 46
     public function protocol(Payone_Api_Request_Interface $request,
47
-                             Payone_Api_Response_Interface $response = null)
47
+                                Payone_Api_Response_Interface $response = null)
48 48
     {
49 49
         $request->setApplyFilters($this->getServiceApplyFilters());
50 50
         $response->setApplyFilters($this->getServiceApplyFilters());
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
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
             $response = $this->getMapperResponse()->map($responseRaw);
73 73
 
74 74
             $this->protocol($request, $response);
75
-        }
76
-        catch (Exception $e) {
75
+        } catch (Exception $e) {
77 76
             $this->protocolException($e, $request);
78 77
             throw $e;
79 78
         }
Please login to merge, or discard this patch.