Completed
Push — master ( a18349...985bb6 )
by Gareth
04:15
created
src/API/ExchangeWebServices.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 
249 249
     protected function createClient($server, $auth, $options)
250 250
     {
251
-        $location = 'https://' . $this->cleanServerUrl($server) . '/EWS/Exchange.asmx';
251
+        $location = 'https://'.$this->cleanServerUrl($server).'/EWS/Exchange.asmx';
252 252
 
253 253
         $options = array_replace_recursive([
254 254
             'version' => self::VERSION_2007,
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
         $this->soap = new NTLMSoapClient(
265 265
             $location,
266 266
             $auth,
267
-            dirname(__FILE__) . '/../../Resources/wsdl/services.wsdl',
267
+            dirname(__FILE__).'/../../Resources/wsdl/services.wsdl',
268 268
             $options
269 269
         );
270 270
 
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 
338 338
         $server = $url['host'];
339 339
         if (isset($url['port'])) {
340
-            $server .= ':' . $url['port'];
340
+            $server .= ':'.$url['port'];
341 341
         }
342 342
 
343 343
         if (isset($url['path'])) {
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
         }
455 455
 
456 456
         if ($code >= 300) {
457
-            throw new ExchangeException('SOAP client returned status of ' . $code, $code);
457
+            throw new ExchangeException('SOAP client returned status of '.$code, $code);
458 458
         }
459 459
 
460 460
         if (empty($response) || empty($response->getNonNullResponseMessages())) {
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
         if (self::$middlewareStack === false) {
468 468
             self::$middlewareStack = [
469 469
                 //Transform an objcet of type Type to an XML Object
470
-                function ($name, $request, $options) {
470
+                function($name, $request, $options) {
471 471
                     if ($request instanceof Type) {
472 472
                         $request = $request->toXmlObject();
473 473
                     }
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
                 },
477 477
 
478 478
                 //The SyncScope option isn't available for Exchange 2007 SP1 and below
479
-                function ($name, $request, $options) {
479
+                function($name, $request, $options) {
480 480
                     $version2007SP1 = ($options['version'] == ExchangeWebServices::VERSION_2007
481 481
                         || $options['version'] == ExchangeWebServices::VERSION_2007_SP1);
482 482
                     if ($name == "SyncFolderItems" && $version2007SP1 && isset($request->SyncScope)) {
Please login to merge, or discard this patch.