@@ -71,12 +71,12 @@ |
||
| 71 | 71 | ]; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - /** |
|
| 75 | - * Returns the string that should be used to separate scopes when building |
|
| 76 | - * the URL for requesting an access token. |
|
| 77 | - * |
|
| 78 | - * @return string Scope separator, defaults to space |
|
| 79 | - */ |
|
| 74 | + /** |
|
| 75 | + * Returns the string that should be used to separate scopes when building |
|
| 76 | + * the URL for requesting an access token. |
|
| 77 | + * |
|
| 78 | + * @return string Scope separator, defaults to space |
|
| 79 | + */ |
|
| 80 | 80 | protected function getScopeSeparator() |
| 81 | 81 | { |
| 82 | 82 | return ' '; |
@@ -96,13 +96,13 @@ |
||
| 96 | 96 | (preg_match('/error="([^"]*)"/', $data, $matches))) { |
| 97 | 97 | $message = $matches[1]; |
| 98 | 98 | if (preg_match('/error_description="([^"]*)"/', $data, $matches)) { |
| 99 | - $message .= ': ' . urldecode($matches[1]); |
|
| 99 | + $message .= ': '.urldecode($matches[1]); |
|
| 100 | 100 | } |
| 101 | 101 | throw new IdentityProviderException($message, 0, $data); |
| 102 | 102 | } elseif (!empty($data['error'])) { |
| 103 | 103 | $message = $data['error']; |
| 104 | 104 | if (!empty($data['error_description'])) { |
| 105 | - $message .= ': ' . $data['error_description']; |
|
| 105 | + $message .= ': '.$data['error_description']; |
|
| 106 | 106 | } |
| 107 | 107 | throw new IdentityProviderException($message, 0, $data); |
| 108 | 108 | } |