Completed
Pull Request — master (#124)
by
unknown
03:29
created
src/Providers/AbstractProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -484,7 +484,7 @@
 block discarded – undo
484 484
     /**
485 485
      * Put state to session storage and return it.
486 486
      *
487
-     * @return string|bool
487
+     * @return false|string
488 488
      */
489 489
     protected function makeState()
490 490
     {
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function has($key)
102 102
     {
103
-        return (bool) $this->get($key);
103
+        return (bool)$this->get($key);
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/Providers/LinkedinProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function getAccessToken($code)
59 59
     {
60 60
         $response = $this->getHttpClient()
61
-                         ->post($this->getTokenUrl(), ['form_params' => $this->getTokenFields($code)]);
61
+                            ->post($this->getTokenUrl(), ['form_params' => $this->getTokenFields($code)]);
62 62
 
63 63
         return $this->parseAccessToken($response->getBody());
64 64
     }
Please login to merge, or discard this patch.
src/Providers/DouYinProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     /**
111 111
      * 格式化token.
112 112
      *
113
-     * @param \Psr\Http\Message\StreamInterface|array $body
113
+     * @param string $body
114 114
      *
115 115
      * @return \Overtrue\Socialite\AccessTokenInterface
116 116
      */
Please login to merge, or discard this patch.