@@ -22,7 +22,7 @@ |
||
22 | 22 | $params = $grant->prepareRequestParameters($params, $options); |
23 | 23 | $request = $this->getAccessTokenRequest($params); |
24 | 24 | $response = $this->getResponse($request); |
25 | - if(!is_array($response)){ |
|
25 | + if(!is_array($response)) { |
|
26 | 26 | throw new ErrorException('error_invalid_request'); |
27 | 27 | } |
28 | 28 | $prepared = $this->prepareAccessTokenResponse($response); |