@@ -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 | |
@@ -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 | } |