Completed
Push — master ( 605689...30b641 )
by Дмитрий
07:34 queued 05:20
created
src/Provider/OAuth1/AbstractProvider.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     /**
108 108
      * Parse Token from response's $body
109 109
      *
110
-     * @param mixed $body
110
+     * @param string|boolean $body
111 111
      * @return Token
112 112
      * @throws InvalidRequestToken
113 113
      * @throws RuntimeException
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
126 126
         return new Token($token['oauth_token'], $token['oauth_token_secret']);
127 127
     }
128 128
 
129
+    /**
130
+     * @param string $uri
131
+     */
129 132
     protected function oauthRequest($uri, $method = 'GET', $parameters = [], $headers = [])
130 133
     {
131 134
         $request = Request::fromConsumerAndToken(
@@ -213,7 +216,7 @@  discard block
 block discarded – undo
213 216
     /**
214 217
      * Parse AccessToken from response's $body
215 218
      *
216
-     * @param mixed $body
219
+     * @param string|boolean $body
217 220
      * @return AccessToken
218 221
      * @throws InvalidAccessToken
219 222
      * @throws RuntimeException
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 namespace SocialConnect\Auth\Provider\OAuth1;
8 8
 
9 9
 use Exception;
10
-use LogicException;
11 10
 use SebastianBergmann\GlobalState\RuntimeException;
12 11
 use SocialConnect\Auth\Exception\InvalidAccessToken;
13 12
 use SocialConnect\Auth\Exception\InvalidResponse;
Please login to merge, or discard this patch.