Completed
Pull Request — master (#22)
by
unknown
04:53
created
lib/Payone/Api/Service/Payment/CreateAccess.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
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
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
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
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Authorize.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
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
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Preauthorize.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
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
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
 
101 101
             // Protocol
102 102
             $this->protocol($request, $response);
103
-        }
104
-        catch (Exception $e) {
103
+        } catch (Exception $e) {
105 104
             $this->protocolException($e, $request);
106 105
             throw $e;
107 106
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Response/Abstract.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
         {
84 84
             if ($data === null) {
85 85
                 continue;
86
-            }
87
-            elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
86
+            } elseif ($data instanceof Payone_Protocol_Service_ApplyFilters == false) {
88 87
                 $result[$key] = $data;
89 88
             }
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Response/Management/GetInvoice.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         if ($this->isError()) {
62 62
             $result = parent::__toString();
63
-        }
64
-        else {
63
+        } else {
65 64
             $stringArray = array('status=' . $this->getStatus(), 'data=PDF-Content');
66 65
             $result = implode('|', $stringArray);
67 66
         }
Please login to merge, or discard this patch.