mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix formatting src/Appwrite/Auth/OAuth2/Microsoft.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user