Skip to content

Commit

Permalink
code reformat workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lanlin authored and lanlin committed Apr 28, 2024
1 parent f7b5280 commit f797161
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Management/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,16 @@ public function revokeAllTokens(string $accountId, ?string $keepAccessToken = nu
*
* @see https://developer.nylas.com/docs/api/v2/#post-/a/client_id/accounts/id/token-info
*
* @param string $accountId
* @param string $accountId
* @param ?string $accessToken
*
* @return array
* @throws GuzzleException
*/
public function returnTokenInformation(string $accountId, string $accessToken = null): array
public function returnTokenInformation(string $accountId, ?string $accessToken = null): array
{
$params = empty($accessToken) ? [] : ['access_token' => $accessToken];

return $this->options
->getSync()
->setPath($this->options->getClientId(), $accountId)
Expand Down

0 comments on commit f797161

Please sign in to comment.