Fix formatting src/Appwrite/Auth/OAuth2/Microsoft.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
e2ee905a8e
commit
7bf5da9759
|
@ -171,7 +171,7 @@ class Microsoft extends OAuth2
|
|||
* Extracts the Tenant Id from the JSON stored in appSecret. Defaults to 'common' as a fallback
|
||||
* @return string
|
||||
*/
|
||||
protected function getTenantId():string
|
||||
protected function getTenantId(): string
|
||||
{
|
||||
$secret = $this->decodeJson();
|
||||
return (isset($secret['tenantId'])) ? $secret['tenantId'] : 'common';
|
||||
|
|
Loading…
Reference in a new issue