Completed
Branch master (d77618)
by Florian
06:00
created
lib/Payone/Api/Response/Parameter/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     public function toArray() {
50 50
         $result = array();
51 51
         foreach ($this as $key => $data) {
52
-            if (!is_array($data) and ! is_object($data)) {
52
+            if (!is_array($data) and !is_object($data)) {
53 53
                 $result[$key] = $data;
54 54
             } else if ($data instanceof Payone_Api_Response_Parameter_Interface) {
55 55
                 /**
Please login to merge, or discard this patch.
lib/Payone/Api/Response/AddressCheck/Valid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     public function setStreet($street)
160 160
     {
161 161
         $sNewStreet2 = '';
162
-        if(stripos($street, '\n') !== false) {//MAGE-195 - split address by the \n and write it in the 2. address field
162
+        if (stripos($street, '\n') !== false) {//MAGE-195 - split address by the \n and write it in the 2. address field
163 163
             $aStreetExpl = explode('\n', $street);
164 164
             
165 165
             $street = $aStreetExpl[0];
Please login to merge, or discard this patch.
lib/Payone/Api/Response/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     
100 100
     protected function _toString($aValue)
101 101
     {
102
-        if($this->applyFilters) {
102
+        if ($this->applyFilters) {
103 103
             $result = $this->applyFilters->apply($aValue);
104 104
         } else {
105 105
             $protocolFactory     = new Payone_Protocol_Factory();
Please login to merge, or discard this patch.
lib/Payone/Api/Response/Genericpayment/Approved.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      */
90 90
     public function getPayDataArray() {
91 91
         $aPayData = array();
92
-        foreach($this->getPayData()->getItems() as $item) {
92
+        foreach ($this->getPayData()->getItems() as $item) {
93 93
             $sCorrectedKey = strtolower($item->getKey());
94 94
             $sCorrectedKey = str_replace('-', '_', $sCorrectedKey);
95 95
             $aPayData[$sCorrectedKey] = $item->getData();
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Payment/Preauthorize.php 1 patch
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.
lib/Payone/Api/Service/Payment/Authorize.php 1 patch
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.