Completed
Push — master ( b1daba...543fa7 )
by Gareth
02:38
created
src/API/ExchangeWebServices.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 
253 253
     protected function createClient($server, $auth, $options)
254 254
     {
255
-        $location = 'https://' . $this->cleanServerUrl($server) . '/EWS/Exchange.asmx';
255
+        $location = 'https://'.$this->cleanServerUrl($server).'/EWS/Exchange.asmx';
256 256
 
257 257
         $options = array_replace_recursive([
258 258
             'version' => self::VERSION_2007,
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
         $this->soap = new NTLMSoapClient(
270 270
             $location,
271 271
             $auth,
272
-            dirname(__FILE__) . '/../../Resources/wsdl/services.wsdl',
272
+            dirname(__FILE__).'/../../Resources/wsdl/services.wsdl',
273 273
             $options
274 274
         );
275 275
         libxml_disable_entity_loader($backup);
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
 
328 328
         $server = $url['host'];
329 329
         if (isset($url['port'])) {
330
-            $server .= ':' . $url['port'];
330
+            $server .= ':'.$url['port'];
331 331
         }
332 332
 
333 333
         if (isset($url['path'])) {
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
         }
387 387
 
388 388
         if (is_array($items) && isset($items[1]) && $items[1] instanceof Message\ResponseMessageType) {
389
-            return array_map(function ($responseItem) {
389
+            return array_map(function($responseItem) {
390 390
                 return $this->drillDownResponseLevels($responseItem);
391 391
             }, $items);
392 392
         }
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
         }
442 442
 
443 443
         if ($code >= 300) {
444
-            throw new ExchangeException('SOAP client returned status of ' . $code, $code);
444
+            throw new ExchangeException('SOAP client returned status of '.$code, $code);
445 445
         }
446 446
 
447 447
         if (empty($response) || empty($response->getNonNullResponseMessages())) {
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
         $newStack = [];
484 484
         foreach ($middlewareStack as $key => $current) {
485 485
             /** @var $current callable */
486
-            $last = function () {
486
+            $last = function() {
487 487
             };
488 488
 
489 489
             if ($key != 0) {
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
             }
492 492
 
493 493
             $current = Closure::bind($current, $this, $this);
494
-            $newStack[] = function (MiddlewareRequest $request) use ($current, $last) {
494
+            $newStack[] = function(MiddlewareRequest $request) use ($current, $last) {
495 495
                 return $current($request, $last);
496 496
             };
497 497
         }
Please login to merge, or discard this patch.