@@ -253,7 +253,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -191,7 +191,7 @@ discard block |
||
| 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 |
||
| 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'] |