@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | protected $primarySmtpMailbox = null; |
132 | 132 | |
133 | - protected static $middlewareStack = [ ]; |
|
133 | + protected static $middlewareStack = []; |
|
134 | 134 | |
135 | 135 | /** |
136 | 136 | * A setting to check whether or not responses should be drilled down before being |
@@ -454,7 +454,7 @@ discard block |
||
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())) { |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | { |
467 | 467 | if (self::$middlewareStack === false) { |
468 | 468 | self::$middlewareStack = [ |
469 | - 'TypeObjectToXMLObject' => function ($name, $request, $options) { |
|
469 | + 'TypeObjectToXMLObject' => function($name, $request, $options) { |
|
470 | 470 | if ($request instanceof Type) { |
471 | 471 | $request = $request->toXmlObject(); |
472 | 472 | } |