Completed
Push — master ( be554a...d9b208 )
by Carlos
15s
created
src/Providers/QQ.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 
21 21
     protected function getAuthUrl(): string
22 22
     {
23
-        return $this->buildAuthUrlFromBase($this->baseUrl . '/oauth2.0/authorize');
23
+        return $this->buildAuthUrlFromBase($this->baseUrl.'/oauth2.0/authorize');
24 24
     }
25 25
 
26 26
     protected function getTokenUrl(): string
27 27
     {
28
-        return $this->baseUrl . '/oauth2.0/token';
28
+        return $this->baseUrl.'/oauth2.0/token';
29 29
     }
30 30
 
31 31
     #[ArrayShape([
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'query' => $this->getTokenFields($code),
47 47
         ]);
48 48
 
49
-        \parse_str((string) $response->getBody(), $token);
49
+        \parse_str((string)$response->getBody(), $token);
50 50
 
51 51
         return $this->normalizeAccessTokenResponse($token);
52 52
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     protected function getUserByToken(string $token): array
62 62
     {
63
-        $response = $this->getHttpClient()->get($this->baseUrl . '/oauth2.0/me', [
63
+        $response = $this->getHttpClient()->get($this->baseUrl.'/oauth2.0/me', [
64 64
             'query' => [
65 65
                 Contracts\RFC6749_ABNF_ACCESS_TOKEN => $token,
66 66
                 'fmt' => 'json',
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
         $me = $this->fromJsonBody($response);
71 71
 
72
-        $response = $this->getHttpClient()->get($this->baseUrl . '/user/get_user_info', [
72
+        $response = $this->getHttpClient()->get($this->baseUrl.'/user/get_user_info', [
73 73
             'query' => [
74 74
                 Contracts\RFC6749_ABNF_ACCESS_TOKEN => $token,
75 75
                 'fmt' => 'json',
Please login to merge, or discard this patch.
src/Providers/Line.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $this->state = $this->state ?: \md5(\uniqid(Contracts\RFC6749_ABNF_STATE, true));
24 24
 
25
-        return $this->buildAuthUrlFromBase('https://access.line.me/oauth2/' . $this->version . '/authorize');
25
+        return $this->buildAuthUrlFromBase('https://access.line.me/oauth2/'.$this->version.'/authorize');
26 26
     }
27 27
 
28 28
     protected function getTokenUrl(): string
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             [
50 50
                 'headers' => [
51 51
                     'Accept' => 'application/json',
52
-                    'Authorization' => 'Bearer ' . $token,
52
+                    'Authorization' => 'Bearer '.$token,
53 53
                 ],
54 54
             ]
55 55
         );
Please login to merge, or discard this patch.