@@ -167,7 +167,6 @@ |
||
| 167 | 167 | /** |
| 168 | 168 | * Main method executing checksum check |
| 169 | 169 | * |
| 170 | - * @param bool $blOutput |
|
| 171 | 170 | * @return string |
| 172 | 171 | */ |
| 173 | 172 | public function checkChecksumXml() |
@@ -113,9 +113,9 @@ |
||
| 113 | 113 | } |
| 114 | 114 | if ($this->blGotModuleInfo === true) {// was composer.json readable? |
| 115 | 115 | $sRequestUrl = $this->sVersionCheckUrl.'?module='.$this->sModuleId.'&version='.$this->sModuleVersion; |
| 116 | - $sResponse = file_get_contents($sRequestUrl);// request info from fatchip checksum server |
|
| 116 | + $sResponse = file_get_contents($sRequestUrl); // request info from fatchip checksum server |
|
| 117 | 117 | if (!empty($sResponse)) {// Did the server answer? |
| 118 | - $aFiles = json_decode($sResponse);// Decode the json encoded answer from the server |
|
| 118 | + $aFiles = json_decode($sResponse); // Decode the json encoded answer from the server |
|
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 | return $aFiles; |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * Returns formatted birthday if possible |
| 117 | 117 | * |
| 118 | 118 | * @param DataObject $data |
| 119 | - * @return string|bool |
|
| 119 | + * @return string|false |
|
| 120 | 120 | */ |
| 121 | 121 | protected function getFormattedBirthday(DataObject $data) |
| 122 | 122 | { |
@@ -156,15 +156,15 @@ |
||
| 156 | 156 | */ |
| 157 | 157 | public function getHostedFieldConfig() |
| 158 | 158 | { |
| 159 | - $aHostedParams = $this->getHostedParams();// get hosted params from config |
|
| 159 | + $aHostedParams = $this->getHostedParams(); // get hosted params from config |
|
| 160 | 160 | |
| 161 | 161 | $aFieldConfig = []; |
| 162 | 162 | if (!empty($aHostedParams)) { |
| 163 | - $aFieldConfig['fields'] = $this->getFieldConfig();// generate config for all field types |
|
| 163 | + $aFieldConfig['fields'] = $this->getFieldConfig(); // generate config for all field types |
|
| 164 | 164 | $aFieldConfig['defaultStyle'] = $this->getDefaultStyles($aHostedParams); |
| 165 | 165 | if ($aHostedParams['Errors_active'] == "true") { |
| 166 | - $aFieldConfig['error'] = 'errorOutput';// area to display error-messages (optional) |
|
| 167 | - $aFieldConfig['language'] = $aHostedParams['Errors_lang'];// has to be defined in javascript |
|
| 166 | + $aFieldConfig['error'] = 'errorOutput'; // area to display error-messages (optional) |
|
| 167 | + $aFieldConfig['language'] = $aHostedParams['Errors_lang']; // has to be defined in javascript |
|
| 168 | 168 | } |
| 169 | 169 | } |
| 170 | 170 | return $aFieldConfig; |
@@ -177,6 +177,6 @@ |
||
| 177 | 177 | if ($this->getPaymentConfig('allowspecific', $sPaymentCode, $sStoreCode, true) == '1') { |
| 178 | 178 | return $this->getPaymentConfig('specificcountry', $sPaymentCode, $sStoreCode, true); |
| 179 | 179 | } |
| 180 | - return '';// empty return value if all countries are available |
|
| 180 | + return ''; // empty return value if all countries are available |
|
| 181 | 181 | } |
| 182 | 182 | } |
@@ -188,6 +188,6 @@ |
||
| 188 | 188 | if ($iCount === null) { |
| 189 | 189 | return 0; |
| 190 | 190 | } |
| 191 | - return $iCount+1; |
|
| 191 | + return $iCount + 1; |
|
| 192 | 192 | } |
| 193 | 193 | } |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | 'cardpan' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => []], |
| 135 | 135 | 'clearing_bankaccountholder' => ['type' => Table::TYPE_TEXT, 'length' => 255, 'option' => []], |
| 136 | 136 | 'clearing_bankaccount' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => []], |
| 137 | - 'clearing_bankcode' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => [],], |
|
| 137 | + 'clearing_bankcode' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => [], ], |
|
| 138 | 138 | 'clearing_bankname' => ['type' => Table::TYPE_TEXT, 'length' => 255, 'option' => []], |
| 139 | 139 | 'clearing_bankbic' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => []], |
| 140 | 140 | 'clearing_bankiban' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => []], |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | $sRequest = $this->getData($sKey); |
| 76 | 76 | if ($sRequest) { |
| 77 | 77 | if (Toolkit::isUTF8($sRequest)) { |
| 78 | - $sRequest = utf8_decode($sRequest);// needed for unserializing the array |
|
| 78 | + $sRequest = utf8_decode($sRequest); // needed for unserializing the array |
|
| 79 | 79 | } |
| 80 | 80 | $aRequest = unserialize($sRequest); |
| 81 | 81 | if (is_array($aRequest)) { |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | $aRequest = $oContext->getRequest()->getPostValue(); |
| 109 | 109 | $sRawStatus = serialize($aRequest); |
| 110 | 110 | if (!Toolkit::isUTF8($sRawStatus)) { |
| 111 | - $sRawStatus = utf8_encode($sRawStatus);// needed for serializing the array |
|
| 111 | + $sRawStatus = utf8_encode($sRawStatus); // needed for serializing the array |
|
| 112 | 112 | } |
| 113 | 113 | $sOrderId = $oOrder !== null ? $oOrder->getIncrementId() : ''; |
| 114 | 114 | $this->getConnection()->insert( |
@@ -58,8 +58,8 @@ |
||
| 58 | 58 | const TRANSACTIONSTATUS_REMINDER = 'reminder'; |
| 59 | 59 | const TRANSACTIONSTATUS_VAUTHORIZATION = 'vauthorization'; |
| 60 | 60 | const TRANSACTIONSTATUS_VSETTLEMENT = 'vsettlement'; |
| 61 | - const TRANSACTIONSTATUS_TRANSFER= 'transfer'; |
|
| 62 | - const TRANSACTIONSTATUS_INVOICE= 'invoice'; |
|
| 61 | + const TRANSACTIONSTATUS_TRANSFER = 'transfer'; |
|
| 62 | + const TRANSACTIONSTATUS_INVOICE = 'invoice'; |
|
| 63 | 63 | |
| 64 | 64 | /* Payment method codes */ |
| 65 | 65 | const METHOD_CREDITCARD = 'payone_creditcard'; |