Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed May 30, 2023
1 parent 4dd3296 commit a3fe305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Management.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getHttpClient(
$response = $authentication->clientCredentials(['audience' => $this->getConfiguration()->formatDomain(true) . '/api/v2/']);
$decoded = HttpResponse::decodeContent($response);

/** @var array{access_token?: (string|null), expires_in?: (int|string), error?: int|string, error_description?: int|string} $decoded */
/** @var array{access_token?: (null|string), expires_in?: (int|string), error?: int|string, error_description?: int|string} $decoded */
if (HttpResponse::wasSuccessful($response)) {
if (isset($decoded['access_token'])) {
$managementToken = $decoded['access_token'];
Expand Down

0 comments on commit a3fe305

Please sign in to comment.