Passed
Push — master ( 051a04...682e47 )
by Stefan
52s
created
src/Request.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.