Completed
Push — master ( d0faea...a39432 )
by Gareth
8s
created
src/API/ExchangeWebServices.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
     protected function createClient($server, $auth, $options)
213 213
     {
214
-        $location = 'https://' . $this->cleanServerUrl($server) . '/EWS/Exchange.asmx';
214
+        $location = 'https://'.$this->cleanServerUrl($server).'/EWS/Exchange.asmx';
215 215
 
216 216
         $options = array_replace_recursive([
217 217
             'version' => self::VERSION_2007,
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
         $this->soap = new NTLMSoapClient(
225 225
             $location,
226 226
             $auth,
227
-            dirname(__FILE__) . '/../../Resources/wsdl/services.wsdl',
227
+            dirname(__FILE__).'/../../Resources/wsdl/services.wsdl',
228 228
             $options
229 229
         );
230 230
 
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 
294 294
         $server = $url['host'];
295 295
         if (isset($url['port'])) {
296
-            $server .= ':' . $url['port'];
296
+            $server .= ':'.$url['port'];
297 297
         }
298 298
 
299 299
         if (isset($url['path'])) {
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
         // If the soap call failed then we need to thow an exception.
319 319
         $code = $this->getClient()->getResponseCode();
320 320
         if ($code != 200) {
321
-            throw new \jamesiarmes\PEWS\API\Exception('SOAP client returned status of ' . $code, $code);
321
+            throw new \jamesiarmes\PEWS\API\Exception('SOAP client returned status of '.$code, $code);
322 322
         }
323 323
 
324 324
         if (empty($response) ||
Please login to merge, or discard this patch.