@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public function __construct($azureActiveDirectory) |
14 | 14 | { |
15 | 15 | // IF they didnt pre-populate all our AAD stuff then make a new one for the common tenant |
16 | - if (! $azureActiveDirectory) { |
|
16 | + if (!$azureActiveDirectory) { |
|
17 | 17 | $azureActiveDirectory = new AzureActiveDirectory(); |
18 | 18 | } |
19 | 19 | $this->azureActiveDirectory = $azureActiveDirectory; |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | protected function getAccessToken() |
29 | 29 | { |
30 | - if (! $this->accessToken) { |
|
30 | + if (!$this->accessToken) { |
|
31 | 31 | $this->authenticateAsApplication(); |
32 | 32 | } |
33 | 33 |
@@ -46,9 +46,9 @@ |
||
46 | 46 | public function buildOpenIdConfigUrl() |
47 | 47 | { |
48 | 48 | $this->openIdConfigUrl = $this->baseUrl.'/' |
49 | - .$this->tenantName.'/' |
|
50 | - .$this->version.'/' |
|
51 | - .$this->wellKnownOpenIdConfig; |
|
49 | + .$this->tenantName.'/' |
|
50 | + .$this->version.'/' |
|
51 | + .$this->wellKnownOpenIdConfig; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | public function downloadOpenIdConfig() |
@@ -35,7 +35,7 @@ |
||
35 | 35 | if ($tenantName != 'common') { |
36 | 36 | // Make sure the tenant is formatted like xyzcorp.onmicrosoft.com |
37 | 37 | $regex = '/\.onmicrosoft\.com/'; |
38 | - if (! preg_match($regex, $tenantName, $hits)) { |
|
38 | + if (!preg_match($regex, $tenantName, $hits)) { |
|
39 | 39 | // Append the suffix if it is missing |
40 | 40 | $tenantName .= '.onmicrosoft.com'; |
41 | 41 | } |