From e34a103e7d1740940e8f8f3d180db97f6140d8e4 Mon Sep 17 00:00:00 2001 From: Kevin Thrailkill Date: Tue, 27 Apr 2021 11:32:51 -0700 Subject: [PATCH] Update OAuthRestClientException.php Fixed Typo where error message was not getting set to itself and not being used --- src/Rest/OAuthRestClientException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rest/OAuthRestClientException.php b/src/Rest/OAuthRestClientException.php index 5cb305e..cf14b54 100644 --- a/src/Rest/OAuthRestClientException.php +++ b/src/Rest/OAuthRestClientException.php @@ -10,7 +10,7 @@ public static function unableToLoadAccessToken(?string $message = null) $errorMessage = 'Unable to load access token'; if ($message) { - $errorMessage . ': ' . $message; + $errorMessage = $errorMessage . ': ' . $message; } return new self($errorMessage);