Completed
Push — master ( 72845a...993abf )
by Дмитрий
04:36 queued 02:07
created
src/Provider/OAuth1/AbstractProvider.php 1 patch
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.