@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | public function oauthRequestTokenUsingCode($code): string |
| 89 | 89 | { |
| 90 | - $path = 'oauth/token?' . http_build_query( |
|
| 90 | + $path = 'oauth/token?'.http_build_query( |
|
| 91 | 91 | [ |
| 92 | 92 | 'client_id' => $this->configs['oauth']['id'], |
| 93 | 93 | 'client_secret' => $this->configs['oauth']['secret'], |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | public function oauthUri($url): string |
| 129 | 129 | { |
| 130 | 130 | return $this->uri( |
| 131 | - '?' . http_build_query( |
|
| 131 | + '?'.http_build_query( |
|
| 132 | 132 | [ |
| 133 | 133 | 'client_id' => $this->configs['oauth']['id'], |
| 134 | 134 | 'redirect_uri' => $url, |
@@ -251,6 +251,6 @@ discard block |
||
| 251 | 251 | */ |
| 252 | 252 | public function uri($path = null, $url = null): string |
| 253 | 253 | { |
| 254 | - return rtrim(($url ?: $this->configs['url']), '/') . (Str::startsWith($path, '?') ? null : '/') . ltrim($path, '/'); |
|
| 254 | + return rtrim(($url ?: $this->configs['url']), '/').(Str::startsWith($path, '?') ? null : '/').ltrim($path, '/'); |
|
| 255 | 255 | } |
| 256 | 256 | } |