@@ -29,7 +29,7 @@ |
||
| 29 | 29 | protected function buildRequest(Request $request, $transactionType) |
| 30 | 30 | { |
| 31 | 31 | $rawRequest = $this->builderFactory->createBuilder($transactionType)->build($request); |
| 32 | - return array( 'xmldata' => $rawRequest); |
|
| 32 | + return array('xmldata' => $rawRequest); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param $transactionType |
| 85 | 85 | * @return \Paranoia\Response |
| 86 | 86 | * @throws CommunicationError |
| 87 | - */ |
|
| 87 | + */ |
|
| 88 | 88 | private function performTransaction(Request $request, $transactionType) |
| 89 | 89 | { |
| 90 | 90 | $rawRequest = $this->buildRequest($request, $transactionType); |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | { |
| 59 | 59 | $client = new HttpClient(); |
| 60 | 60 | |
| 61 | - $config = array( |
|
| 61 | + $config = array( |
|
| 62 | 62 | 'curl.options' => array( |
| 63 | 63 | CURLOPT_SSL_VERIFYPEER => false, |
| 64 | 64 | CURLOPT_SSL_VERIFYHOST => false |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | ); |
| 67 | 67 | |
| 68 | 68 | //override default config |
| 69 | - if(is_array($this->configuration->getGuzzleConfig())){ |
|
| 69 | + if (is_array($this->configuration->getGuzzleConfig())) { |
|
| 70 | 70 | $config = array_replace_recursive($config, $this->configuration->getGuzzleConfig()); |
| 71 | 71 | } |
| 72 | 72 | |