Skip to content

Commit

Permalink
Update src/Credentials/UserRefreshCredentials.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Oct 31, 2024
1 parent 135b87c commit 223aa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Credentials/UserRefreshCredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct(
) {
if (is_string($jsonKey)) {
if (!file_exists($jsonKey)) {
throw new InvalidArgumentException('file does not exist');
throw new InvalidArgumentException('file does not exist or is unreadable');
}
$json = file_get_contents($jsonKey);
if (!$jsonKey = json_decode((string) $json, true)) {
Expand Down

0 comments on commit 223aa88

Please sign in to comment.