From f20bfad712abef0a27c179c869edc10409a17d41 Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 23 Nov 2022 17:30:12 +0800 Subject: [PATCH] cs. --- src/Providers/QQ.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Providers/QQ.php b/src/Providers/QQ.php index 689bb07..3d57676 100644 --- a/src/Providers/QQ.php +++ b/src/Providers/QQ.php @@ -88,7 +88,7 @@ protected function getUserByToken(string $token): array $user = $this->fromJsonBody($response); - if (!array_key_exists('ret', $user) || $user['ret'] !== 0) { + if (! array_key_exists('ret', $user) || $user['ret'] !== 0) { throw new AuthorizeFailedException('Authorize Failed: '.Utils::jsonEncode($user, \JSON_UNESCAPED_UNICODE), $user); }