@@ -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', |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | 'endpointurl' => $this->getEndpointUrl(), |
127 | 127 | ]); |
128 | 128 | |
129 | - $this->logger->debug('Response: ' . $body, [ |
|
129 | + $this->logger->debug('Response: '.$body, [ |
|
130 | 130 | 'id' => $id, |
131 | 131 | 'endpointurl' => $this->getEndpointUrl(), |
132 | 132 | ]); |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | return $responseInstance->setText($body)->setResponse($xml); |
143 | 143 | } elseif ($xml->Response->ResponseStatusCode == 0) { |
144 | - throw new InvalidResponseException('Failure: ' . $xml->Response->Error->ErrorDescription . ' (' . $xml->Response->Error->ErrorCode . ')'); |
|
144 | + throw new InvalidResponseException('Failure: '.$xml->Response->Error->ErrorDescription.' ('.$xml->Response->Error->ErrorCode.')'); |
|
145 | 145 | } |
146 | 146 | } else { |
147 | 147 | throw new InvalidResponseException('Failure: response is in an unexpected format.'); |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | 'endpointurl' => $this->getEndpointUrl(), |
154 | 154 | ]); |
155 | 155 | |
156 | - throw new RequestException('Failure: ' . $e->getMessage()); |
|
156 | + throw new RequestException('Failure: '.$e->getMessage()); |
|
157 | 157 | } |
158 | 158 | } |
159 | 159 |