@@ -24,7 +24,7 @@ |
||
24 | 24 | $chunked = $this->headers->has('Transfer-Encoding'); |
25 | 25 | $this->content->seek(0); |
26 | 26 | |
27 | - for (; ;) { |
|
27 | + for (;;) { |
|
28 | 28 | $chunk = $this->content->read($this->bufferSize); |
29 | 29 | |
30 | 30 | if ($chunked) { |
@@ -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); |
@@ -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); |