@@ -96,7 +96,7 @@ |
||
| 96 | 96 | $headers = $transfer->getHeaders(); |
| 97 | 97 | |
| 98 | 98 | if (isset($headers['force_result'])) { |
| 99 | - return (int)$headers['force_result']; |
|
| 99 | + return (int) $headers['force_result']; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | return $this->results[mt_rand(0, 1)]; |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | $payment->setAdditionalInformation( |
| 40 | 40 | self::FRAUD_MSG_LIST, |
| 41 | - (array)$response[self::FRAUD_MSG_LIST] |
|
| 41 | + (array) $response[self::FRAUD_MSG_LIST] |
|
| 42 | 42 | ); |
| 43 | 43 | |
| 44 | 44 | /** @var $payment Payment */ |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | } elseif ($this->_request->isPost()) { |
| 90 | 90 | if (count($_POST)) { |
| 91 | 91 | foreach ($_POST as $config => $value) { |
| 92 | - if (isset($this->defaultConfigs[$config]) && $response['status']==null) { |
|
| 92 | + if (isset($this->defaultConfigs[$config]) && $response['status'] == null) { |
|
| 93 | 93 | $dbConnection->update( |
| 94 | 94 | $tableName, |
| 95 | 95 | array('value' => $value), |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | $formattedResult = array(); |
| 110 | - if ($response['status']==null) { |
|
| 110 | + if ($response['status'] == null) { |
|
| 111 | 111 | $dbResult = $dbConnection->fetchAll("select * from $tableName"); |
| 112 | 112 | foreach ($dbResult as $value) { |
| 113 | 113 | $formattedResult[$value['config']] = $value['value']; |