File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 77use OAuth \Common \Http \Uri \Uri ;
88use OAuth \Common \Http \Uri \UriInterface ;
99use OAuth \Common \Storage \TokenStorageInterface ;
10- use OAuth \OAuth1 \Service \AbstractService ;
1110use OAuth \OAuth1 \Service \Flickr ;
1211use OAuth \OAuth1 \Signature \SignatureInterface ;
1312
@@ -37,17 +36,17 @@ public static function setBaseUrl($baseUrl)
3736 static ::$ baseUrl = rtrim ($ baseUrl , '/ ' );
3837 }
3938
40- public function getRequestTokenEndpoint ()
39+ public function getRequestTokenEndpoint (): UriInterface
4140 {
4241 return new Uri (static ::$ baseUrl . '/oauth/request_token ' );
4342 }
4443
45- public function getAuthorizationEndpoint ()
44+ public function getAuthorizationEndpoint (): UriInterface
4645 {
4746 return new Uri (static ::$ baseUrl . '/oauth/authorize ' );
4847 }
4948
50- public function getAccessTokenEndpoint ()
49+ public function getAccessTokenEndpoint (): UriInterface
5150 {
5251 return new Uri (static ::$ baseUrl . '/oauth/access_token ' );
5352 }
You can’t perform that action at this time.
0 commit comments