Skip to content

Commit

Permalink
cs.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 23, 2022
1 parent 8803a64 commit f20bfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/QQ.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f20bfad

Please sign in to comment.