Completed
Push — master ( fd5d01...725272 )
by Gareth
03:16
created
src/API/ExchangeWebServices.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
     protected function createClient($server, $auth, $options)
255 255
     {
256
-        $location = 'https://' . $this->cleanServerUrl($server) . '/EWS/Exchange.asmx';
256
+        $location = 'https://'.$this->cleanServerUrl($server).'/EWS/Exchange.asmx';
257 257
 
258 258
         $options = array_replace_recursive([
259 259
             '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
 
@@ -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'])) {
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
         }
445 445
 
446 446
         if ($code >= 300) {
447
-            throw new ExchangeException('SOAP client returned status of ' . $code, $code);
447
+            throw new ExchangeException('SOAP client returned status of '.$code, $code);
448 448
         }
449 449
 
450 450
         if (empty($response) || empty($response->getNonNullResponseMessages())) {
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
         $newStack = [];
487 487
         foreach ($middlewareStack as $key => $current) {
488 488
             /** @var $current callable */
489
-            $last = function () {
489
+            $last = function() {
490 490
             };
491 491
 
492 492
             if ($key != 0) {
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
             }
495 495
 
496 496
             $current = Closure::bind($current, $this, $this);
497
-            $newStack[] = function (MiddlewareRequest $request) use ($current, $last) {
497
+            $newStack[] = function(MiddlewareRequest $request) use ($current, $last) {
498 498
                 return $current($request, $last);
499 499
             };
500 500
         }
Please login to merge, or discard this patch.
src/API.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             $names = array($names);
192 192
         }
193 193
 
194
-        $names = array_map(function ($name) {
194
+        $names = array_map(function($name) {
195 195
             return array(
196 196
                 'DisplayName' => $name,
197 197
                 'FolderClass' => 'IPF.Appointment'
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
             if ($item instanceof Type\ItemIdType) {
276 276
                 $item = $item->toArray();
277 277
             }
278
-            $item = (array)$item;
278
+            $item = (array) $item;
279 279
             $itemIds[] = array(
280 280
                 'Id' => $item['Id'],
281 281
                 'ChangeKey' => $item['ChangeKey']
Please login to merge, or discard this patch.