@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | 'endpointurl' => $this->getEndpointUrl(), |
| 102 | 102 | ]); |
| 103 | 103 | |
| 104 | - $this->logger->debug('Request: ' . $this->getRequest(), [ |
|
| 104 | + $this->logger->debug('Request: '.$this->getRequest(), [ |
|
| 105 | 105 | 'id' => $id, |
| 106 | 106 | 'endpointurl' => $this->getEndpointUrl(), |
| 107 | 107 | ]); |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | $response = $this->client->post( |
| 111 | 111 | $this->getEndpointUrl(), |
| 112 | 112 | [ |
| 113 | - 'body' => $this->getAccess() . $this->getRequest(), |
|
| 113 | + 'body' => $this->getAccess().$this->getRequest(), |
|
| 114 | 114 | 'headers' => [ |
| 115 | 115 | 'Content-type' => 'application/x-www-form-urlencoded; charset=utf-8', |
| 116 | 116 | 'Accept-Charset' => 'UTF-8', |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | 'id' => $id, |
| 126 | 126 | 'endpointurl' => $this->getEndpointUrl(), |
| 127 | 127 | ]); |
| 128 | - $this->logger->debug('Response: ' . $body, [ |
|
| 128 | + $this->logger->debug('Response: '.$body, [ |
|
| 129 | 129 | 'id' => $id, |
| 130 | 130 | 'endpointurl' => $this->getEndpointUrl(), |
| 131 | 131 | ]); |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | |
| 141 | 141 | return $responseInstance->setText($body)->setResponse($xml); |
| 142 | 142 | } elseif ($xml->Response->ResponseStatusCode == 0) { |
| 143 | - throw new InvalidResponseException('Failure: ' . $xml->Response->Error->ErrorDescription . ' (' . $xml->Response->Error->ErrorCode . ')'); |
|
| 143 | + throw new InvalidResponseException('Failure: '.$xml->Response->Error->ErrorDescription.' ('.$xml->Response->Error->ErrorCode.')'); |
|
| 144 | 144 | } |
| 145 | 145 | } else { |
| 146 | 146 | throw new InvalidResponseException('Failure: response is in an unexpected format.'); |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | 'endpointurl' => $this->getEndpointUrl(), |
| 153 | 153 | ]); |
| 154 | 154 | |
| 155 | - throw new RequestException('Failure: ' . $e->getMessage()); |
|
| 155 | + throw new RequestException('Failure: '.$e->getMessage()); |
|
| 156 | 156 | } |
| 157 | 157 | } |
| 158 | 158 | |