Completed
Branch master (65bebb)
by Carlos
04:21
created
src/AttributeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Return the extra attribute.
42 42
      *
43 43
      * @param string $name
44
-     * @param null   $default
44
+     * @param string   $default
45 45
      *
46 46
      * @return mixed
47 47
      */
Please login to merge, or discard this patch.
src/Providers/AbstractProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     /**
142 142
      * Redirect the user of the application to the provider's authentication screen.
143 143
      *
144
-     * @return \Illuminate\Http\RedirectResponse
144
+     * @return RedirectResponse
145 145
      */
146 146
     public function redirect()
147 147
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
         }
400 400
 
401 401
         foreach (explode('.', $key) as $segment) {
402
-            if (! is_array($array) || ! array_key_exists($segment, $array)) {
402
+            if (!is_array($array) || !array_key_exists($segment, $array)) {
403 403
                 return $default;
404 404
             }
405 405
 
Please login to merge, or discard this patch.
src/Providers/FacebookProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -92,6 +92,7 @@
 block discarded – undo
92 92
 
93 93
     /**
94 94
      * {@inheritdoc}
95
+     * @param \Psr\Http\Message\StreamInterface $body
95 96
      */
96 97
     protected function parseAccessToken($body)
97 98
     {
Please login to merge, or discard this patch.
src/Providers/QQProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
     /**
161 161
      * Remove the fucking callback parentheses.
162 162
      *
163
-     * @param mixed $response
163
+     * @param string $response
164 164
      *
165 165
      * @return string
166 166
      */
Please login to merge, or discard this patch.
src/Providers/WeChatProvider.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * {@inheritdoc}.
60
+     * @param string $state
60 61
      */
61 62
     protected function buildAuthUrlFromBase($url, $state)
62 63
     {
@@ -145,6 +146,7 @@  discard block
 block discarded – undo
145 146
 
146 147
     /**
147 148
      * {@inheritdoc}.
149
+     * @param string $body
148 150
      */
149 151
     protected function parseAccessToken($body)
150 152
     {
Please login to merge, or discard this patch.
src/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Set the token on the user.
93 93
      *
94
-     * @param string $token
94
+     * @param AccessTokenInterface $token
95 95
      *
96 96
      * @return $this
97 97
      */
Please login to merge, or discard this patch.
src/Providers/DoubanProvider.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DoubanProvider.php
4
- *
5
- * This file is part of the socialite.
6
- *
7
- * (c) overtrue <[email protected]>
8
- *
9
- * This source file is subject to the MIT license that is bundled
10
- * with this source code in the file LICENSE.
11
- */
3
+     * DoubanProvider.php
4
+     *
5
+     * This file is part of the socialite.
6
+     *
7
+     * (c) overtrue <[email protected]>
8
+     *
9
+     * This source file is subject to the MIT license that is bundled
10
+     * with this source code in the file LICENSE.
11
+     */
12 12
 
13 13
 namespace Overtrue\Socialite\Providers;
14 14
 
Please login to merge, or discard this patch.