@@ -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) { |
@@ -39,6 +39,6 @@ |
||
| 39 | 39 | |
| 40 | 40 | public function resolve() |
| 41 | 41 | { |
| 42 | - return $this->resolveLocale($this->request, ['lv','ru']); |
|
| 42 | + return $this->resolveLocale($this->request, ['lv', 'ru']); |
|
| 43 | 43 | } |
| 44 | 44 | } |
@@ -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); |