@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $constant .= "_SP$minorVersion"; |
120 | 120 | } |
121 | 121 | |
122 | - return constant(ExchangeWebServices::class . "::$constant"); |
|
122 | + return constant(ExchangeWebServices::class."::$constant"); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | protected function newAPI($email, $password, $username = null, $options = []) |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | protected function tryTopLevelDomain($email, $password, $username) |
231 | 231 | { |
232 | 232 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
233 | - $url = 'https://www.' . $topLevelDomain . self::AUTODISCOVER_PATH; |
|
233 | + $url = 'https://www.'.$topLevelDomain.self::AUTODISCOVER_PATH; |
|
234 | 234 | |
235 | 235 | return $this->doNTLMPost($url, $email, $password, $username); |
236 | 236 | } |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | protected function tryAutoDiscoverSubDomain($email, $password, $username) |
249 | 249 | { |
250 | 250 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
251 | - $url = 'https://autodiscover.' . $topLevelDomain . self::AUTODISCOVER_PATH; |
|
251 | + $url = 'https://autodiscover.'.$topLevelDomain.self::AUTODISCOVER_PATH; |
|
252 | 252 | |
253 | 253 | return $this->doNTLMPost($url, $email, $password, $username); |
254 | 254 | } |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | { |
268 | 268 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
269 | 269 | |
270 | - $url = 'http://autodiscover.' . $topLevelDomain . self::AUTODISCOVER_PATH; |
|
270 | + $url = 'http://autodiscover.'.$topLevelDomain.self::AUTODISCOVER_PATH; |
|
271 | 271 | |
272 | 272 | $client = $this->httpPlayback->getHttpClient(); |
273 | 273 | $postOptions = [ |
@@ -304,11 +304,11 @@ discard block |
||
304 | 304 | protected function trySRVRecord($email, $password, $username) |
305 | 305 | { |
306 | 306 | $topLevelDomain = $this->getTopLevelDomainFromEmail($email); |
307 | - $srvHost = '_autodiscover._tcp.' . $topLevelDomain; |
|
307 | + $srvHost = '_autodiscover._tcp.'.$topLevelDomain; |
|
308 | 308 | $lookup = dns_get_record($srvHost, DNS_SRV); |
309 | 309 | if (sizeof($lookup) > 0) { |
310 | 310 | $host = $lookup[0]['target']; |
311 | - $url = 'https://' . $host . self::AUTODISCOVER_PATH; |
|
311 | + $url = 'https://'.$host.self::AUTODISCOVER_PATH; |
|
312 | 312 | |
313 | 313 | return $this->doNTLMPost($url, $email, $password, $username); |
314 | 314 | } |