Skip to content

Commit

Permalink
fix: exception msg
Browse files Browse the repository at this point in the history
  • Loading branch information
AxiosLeo committed Apr 1, 2021
1 parent 6b95255 commit 9090546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/lib/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function request(CredentialsInterface $credentials = null)
{
$credentials = $this->credential($credentials);
if (!$credentials instanceof CredentialsInterface) {
throw new InvalidParameterException("{$credentials} must be 'CredentialsInterface'");
throw new InvalidParameterException("credentials instance must be 'CredentialsInterface'");
}
$credentials->init($this);

Expand Down

0 comments on commit 9090546

Please sign in to comment.