Skip to content

Commit

Permalink
Checking for tenant config throws warning in PHP 7.4 (#688)
Browse files Browse the repository at this point in the history
Co-authored-by: Jess Carlos <jess.carlos@stepstonegroup.com>
  • Loading branch information
Jess Carlos and jesscarlos authored Jun 14, 2021
1 parent dfe64c8 commit 64779ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Provider extends AbstractProvider
protected function getAuthUrl($state)
{
return $this->buildAuthUrlFromBase(
'https://login.microsoftonline.com/'.($this->config['tenant'] ?: 'common').'/oauth2/authorize',
'https://login.microsoftonline.com/'.($this->config['tenant'] ?? 'common').'/oauth2/authorize',
$state
);
}
Expand Down

0 comments on commit 64779ec

Please sign in to comment.