@@ -103,10 +103,10 @@ |
||
| 103 | 103 | */ |
| 104 | 104 | public function createAuthUrl(array $scopes, $needMobileView = false) { |
| 105 | 105 | $parameters = array( |
| 106 | - 'client_id=' . $this->getClientId(), |
|
| 106 | + 'client_id=' . $this->getClientId(), |
|
| 107 | 107 | 'response_type=' . self::RESPONSE_TYPE_CODE, |
| 108 | - 'redirect_uri=' . $this->getRedirectUri(), |
|
| 109 | - 'scope=' . implode(';', $scopes), |
|
| 108 | + 'redirect_uri=' . $this->getRedirectUri(), |
|
| 109 | + 'scope=' . implode(';', $scopes), |
|
| 110 | 110 | ); |
| 111 | 111 | if ($needMobileView) { |
| 112 | 112 | $parameters[] = 'layout=' . self::LAYOUT_MOBILE; |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * @return int call identifier |
| 212 | 212 | */ |
| 213 | 213 | private function getCallId() { |
| 214 | - return ++self::$counter; |
|
| 214 | + return++self::$counter; |
|
| 215 | 215 | } |
| 216 | 216 | |
| 217 | 217 | /** |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | $Error->getDescription())); |
| 237 | 237 | } |
| 238 | 238 | default: |
| 239 | - throw new UnknownClientErrorException(sprintf('Unknown response format: %s', json_encode($Token))); |
|
| 239 | + throw new UnknownClientErrorException(sprintf('Unknown response format: %s', json_encode($Token))); |
|
| 240 | 240 | } |
| 241 | 241 | } |
| 242 | 242 | } |