1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Fix formatting src/Appwrite/Auth/OAuth2/Microsoft.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Simon Trockel 2022-01-26 11:09:51 +01:00 committed by GitHub
parent e2ee905a8e
commit 7bf5da9759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';