@@ -168,7 +168,7 @@ |
||
168 | 168 | // If access token is not set or token has expired, acquire new token |
169 | 169 | if (empty($this->accessToken)){ |
170 | 170 | $this->acquireAccessToken(); |
171 | - }else if($this->tokenHasExpired()){ |
|
171 | + } else if($this->tokenHasExpired()){ |
|
172 | 172 | return 'expired'; |
173 | 173 | /*throw new Exception("token is expired and need to update");*/ |
174 | 174 | } |