@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | |
| 255 | 255 | protected function createClient($server, $auth, $options) |
| 256 | 256 | { |
| 257 | - $location = 'https://' . $this->cleanServerUrl($server) . '/EWS/Exchange.asmx'; |
|
| 257 | + $location = 'https://'.$this->cleanServerUrl($server).'/EWS/Exchange.asmx'; |
|
| 258 | 258 | |
| 259 | 259 | $options = array_replace_recursive([ |
| 260 | 260 | 'version' => self::VERSION_2007, |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | $this->soap = new NTLMSoapClient( |
| 272 | 272 | $location, |
| 273 | 273 | $auth, |
| 274 | - dirname(__FILE__) . '/../../Resources/wsdl/services.wsdl', |
|
| 274 | + dirname(__FILE__).'/../../Resources/wsdl/services.wsdl', |
|
| 275 | 275 | $options |
| 276 | 276 | ); |
| 277 | 277 | 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'])) { |
@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | } |
| 389 | 389 | |
| 390 | 390 | if (is_array($items) && isset($items[1]) && $items[1] instanceof Message\ResponseMessageType) { |
| 391 | - return array_map(function ($responseItem) { |
|
| 391 | + return array_map(function($responseItem) { |
|
| 392 | 392 | return self::drillDownResponseLevels($responseItem); |
| 393 | 393 | }, $items); |
| 394 | 394 | } |
@@ -443,7 +443,7 @@ discard block |
||
| 443 | 443 | } |
| 444 | 444 | |
| 445 | 445 | if ($code >= 300) { |
| 446 | - throw new ExchangeException('SOAP client returned status of ' . $code, $code); |
|
| 446 | + throw new ExchangeException('SOAP client returned status of '.$code, $code); |
|
| 447 | 447 | } |
| 448 | 448 | |
| 449 | 449 | if (empty($response) || empty($response->getNonNullResponseMessages())) { |
@@ -485,7 +485,7 @@ discard block |
||
| 485 | 485 | $newStack = []; |
| 486 | 486 | foreach ($middlewareStack as $key => $current) { |
| 487 | 487 | /** @var $current callable */ |
| 488 | - $last = function () { |
|
| 488 | + $last = function() { |
|
| 489 | 489 | }; |
| 490 | 490 | |
| 491 | 491 | if ($key != 0) { |
@@ -493,7 +493,7 @@ discard block |
||
| 493 | 493 | } |
| 494 | 494 | |
| 495 | 495 | $current = Closure::bind($current, $this, $this); |
| 496 | - $newStack[] = function (MiddlewareRequest $request) use ($current, $last) { |
|
| 496 | + $newStack[] = function(MiddlewareRequest $request) use ($current, $last) { |
|
| 497 | 497 | return $current($request, $last); |
| 498 | 498 | }; |
| 499 | 499 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | public static function handlePullNotification($uri, callable $handle, array $options = array()) |
| 10 | 10 | { |
| 11 | 11 | $server = new \SoapServer( |
| 12 | - __DIR__ . '/../Resources/wsdl/notification-service.wsdl', |
|
| 12 | + __DIR__.'/../Resources/wsdl/notification-service.wsdl', |
|
| 13 | 13 | [ |
| 14 | 14 | 'uri' => $uri, |
| 15 | 15 | 'classmap' => ClassMap::getClassMap(), |