From e2ee905a8e7b80aba9cb14f83b2fb73d88b44545 Mon Sep 17 00:00:00 2001 From: Simon Trockel Date: Wed, 26 Jan 2022 11:08:10 +0100 Subject: [PATCH] Fix formatting src/Appwrite/Auth/OAuth2/Microsoft.php Co-authored-by: Christy Jacob --- src/Appwrite/Auth/OAuth2/Microsoft.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Microsoft.php b/src/Appwrite/Auth/OAuth2/Microsoft.php index 40d0a7b269..7f3b54567d 100644 --- a/src/Appwrite/Auth/OAuth2/Microsoft.php +++ b/src/Appwrite/Auth/OAuth2/Microsoft.php @@ -157,8 +157,8 @@ class Microsoft extends OAuth2 * Decode the JSON stored in appSecret * @return array */ - protected function decodeJson():array{ - + protected function decodeJson(): array + { try { $secret = \json_decode($this->appSecret, true); } catch (\Throwable $th) {