@@ -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, |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | $this->soap = new NTLMSoapClient( |
| 271 | 271 | $location, |
| 272 | 272 | $auth, |
| 273 | - dirname(__FILE__) . '/../../Resources/wsdl/services.wsdl', |
|
| 273 | + dirname(__FILE__).'/../../Resources/wsdl/services.wsdl', |
|
| 274 | 274 | $options |
| 275 | 275 | ); |
| 276 | 276 | libxml_disable_entity_loader($backup); |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | |
| 330 | 330 | $server = $url['host']; |
| 331 | 331 | if (isset($url['port'])) { |
| 332 | - $server .= ':' . $url['port']; |
|
| 332 | + $server .= ':'.$url['port']; |
|
| 333 | 333 | } |
| 334 | 334 | |
| 335 | 335 | if (isset($url['path'])) { |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | } |
| 450 | 450 | |
| 451 | 451 | if ($code >= 300) { |
| 452 | - throw new ExchangeException('SOAP client returned status of ' . $code, $code); |
|
| 452 | + throw new ExchangeException('SOAP client returned status of '.$code, $code); |
|
| 453 | 453 | } |
| 454 | 454 | |
| 455 | 455 | if (empty($response) || empty($response->getNonNullResponseMessages())) { |
@@ -491,7 +491,7 @@ discard block |
||
| 491 | 491 | $newStack = []; |
| 492 | 492 | foreach ($middlewareStack as $key => $current) { |
| 493 | 493 | /** @var $current callable */ |
| 494 | - $last = function () { |
|
| 494 | + $last = function() { |
|
| 495 | 495 | }; |
| 496 | 496 | |
| 497 | 497 | if ($key != 0) { |
@@ -499,7 +499,7 @@ discard block |
||
| 499 | 499 | } |
| 500 | 500 | |
| 501 | 501 | $current = Closure::bind($current, $this, $this); |
| 502 | - $newStack[] = function (MiddlewareRequest $request) use ($current, $last) { |
|
| 502 | + $newStack[] = function(MiddlewareRequest $request) use ($current, $last) { |
|
| 503 | 503 | return $current($request, $last); |
| 504 | 504 | }; |
| 505 | 505 | } |