@@ -153,7 +153,7 @@ |
||
153 | 153 | * |
154 | 154 | * @param string $url |
155 | 155 | * |
156 | - * @return OAuth\ConfigInterface |
|
156 | + * @return Config |
|
157 | 157 | */ |
158 | 158 | public function setResourceBaseUrl($url) |
159 | 159 | { |
@@ -21,11 +21,11 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Get access token. |
23 | 23 | * |
24 | - * @param OAuth1\Contracts\Tokens\RequestTokenInterface $requestToken |
|
24 | + * @param RequestTokenInterface $requestToken |
|
25 | 25 | * @param string $tokenKey |
26 | 26 | * @param string $verifier |
27 | 27 | * |
28 | - * @return OAuth1\Contracts\Tokens\AccessTokenInterface |
|
28 | + * @return AccessToken |
|
29 | 29 | */ |
30 | 30 | public function accessToken(RequestTokenInterface $requestToken, $tokenKey, $verifier) |
31 | 31 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Is valid token? |
45 | 45 | * |
46 | - * @param OAuth1\Contracts\Token\RequestTokenInterface $requestToken |
|
46 | + * @param RequestTokenInterface $requestToken |
|
47 | 47 | * @param string $tokenKey |
48 | 48 | * |
49 | 49 | * @return bool |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Access token header. |
58 | 58 | * |
59 | - * @param OAuth1\Contracts\Token\RequestTokenInterface $requestToken |
|
59 | + * @param RequestTokenInterface $requestToken |
|
60 | 60 | * @param string $verifier |
61 | 61 | * |
62 | 62 | * @return array |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Request authorization. |
21 | 21 | * |
22 | - * @param OAuth1\Contracts\Tokens\RequestTokenInterface $requestToken |
|
22 | + * @param RequestTokenInterface $requestToken |
|
23 | 23 | */ |
24 | 24 | public function authorize(RequestTokenInterface $requestToken) |
25 | 25 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Build authorization url. |
33 | 33 | * |
34 | - * @param OAuth1\Contracts\Tokens\RequestTokenInterface $requestToken |
|
34 | + * @param RequestTokenInterface $requestToken |
|
35 | 35 | * |
36 | 36 | * @return string |
37 | 37 | */ |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @param string $url |
31 | 31 | * |
32 | - * @return OAuth1\Contracts\GrantedFlowInterface |
|
32 | + * @return GrantedFlow |
|
33 | 33 | */ |
34 | 34 | public function setResourceBaseUrl($url) |
35 | 35 | { |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * Get granted access token. |
174 | 174 | * |
175 | - * @return OAuth1\Contracts\Tokens\AccessTokenInterface |
|
175 | + * @return AccessTokenInterface |
|
176 | 176 | */ |
177 | 177 | public function grantedAccessToken() |
178 | 178 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * |
185 | 185 | * @param $accessToken OAuth1\Contracts\Tokens\AccessTokenInterface |
186 | 186 | * |
187 | - * @return OAuth1\Contracts\GrantedFlowInterface |
|
187 | + * @return GrantedFlow |
|
188 | 188 | */ |
189 | 189 | public function setGrantedAccessToken(AccessTokenInterface $accessToken) |
190 | 190 | { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * Get granted request headers. |
198 | 198 | * |
199 | - * @param OAuth1\Contracts\Tokens\AccessTokenInterface $accessToken |
|
199 | + * @param AccessTokenInterface $accessToken |
|
200 | 200 | * @param string $url |
201 | 201 | * @param string $httpVerb |
202 | 202 | * @param array $options |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Get request token. |
21 | 21 | * |
22 | - * @return OAuth1\Contracts\Tokens\RequestTokenInterface |
|
22 | + * @return RequestToken |
|
23 | 23 | */ |
24 | 24 | public function requestToken() |
25 | 25 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * Create a new instance of Generic class. |
45 | 45 | * |
46 | 46 | * @param OAuth1\Contracts\ConfigInterface|array $config |
47 | - * @param OAuth1\Contracts\Signers\SignerInterface|null $signature |
|
47 | + * @param null|SignerInterface $signature |
|
48 | 48 | */ |
49 | 49 | public function __construct($config, SignerInterface $signature = null) |
50 | 50 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * |
56 | 56 | * @param string $secret |
57 | 57 | * |
58 | - * @return OAuth1\Contracts\Signers\SignerInterface |
|
58 | + * @return Signer |
|
59 | 59 | */ |
60 | 60 | public function setTokenSecret($secret) |
61 | 61 | { |
@@ -10,9 +10,9 @@ |
||
10 | 10 | /** |
11 | 11 | * Create from HTTP response. |
12 | 12 | * |
13 | - * @param Psr\Http\Message\ResponseInterface $response |
|
13 | + * @param ResponseInterface $response |
|
14 | 14 | * |
15 | - * @return OAuth1\Contracts\Tokens\AccessTokenInterface |
|
15 | + * @return AccessToken |
|
16 | 16 | */ |
17 | 17 | public static function fromHttpResponse(ResponseInterface $response) |
18 | 18 | { |
@@ -10,9 +10,9 @@ |
||
10 | 10 | /** |
11 | 11 | * Create from HTTP response. |
12 | 12 | * |
13 | - * @param Psr\Http\Message\ResponseInterface $response |
|
13 | + * @param ResponseInterface $response |
|
14 | 14 | * |
15 | - * @return OAuth1\Contracts\Tokens\RequestTokenInterface |
|
15 | + * @return RequestToken |
|
16 | 16 | */ |
17 | 17 | public static function fromHttpResponse(ResponseInterface $response) |
18 | 18 | { |