@@ -129,11 +129,11 @@ |
||
129 | 129 | * @method \Psr\Http\Message\ResponseInterface usersSuggestionsSlugMembers(string $slug, array $params = ['lang']) |
130 | 130 | * @method \Psr\Http\Message\ResponseInterface verifyCredentials(array $params = ['include_entities', 'skip_status']) |
131 | 131 | */ |
132 | -class Twitter extends OAuth1Provider{ |
|
132 | +class Twitter extends OAuth1Provider { |
|
133 | 133 | |
134 | 134 | // choose your fighter |
135 | 135 | /** @link https://developer.twitter.com/en/docs/basics/authentication/api-reference/authorize */ |
136 | - protected $authURL = 'https://api.twitter.com/oauth/authorize'; |
|
136 | + protected $authURL = 'https://api.twitter.com/oauth/authorize'; |
|
137 | 137 | /** @link https://developer.twitter.com/en/docs/basics/authentication/api-reference/authenticate */ |
138 | 138 | # protected $authURL = 'https://api.twitter.com/oauth/authenticate'; |
139 | 139 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @link https://www.tumblr.com/docs/en/api/v2 |
19 | 19 | */ |
20 | -class TumblrEndpoints extends EndpointMap{ |
|
20 | +class TumblrEndpoints extends EndpointMap { |
|
21 | 21 | |
22 | 22 | protected $me = [ |
23 | 23 | 'path' => '/user/info', |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @method \Psr\Http\Message\ResponseInterface me() |
21 | 21 | */ |
22 | -class Tumblr extends OAuth1Provider{ |
|
22 | +class Tumblr extends OAuth1Provider { |
|
23 | 23 | |
24 | 24 | protected $apiURL = 'https://api.tumblr.com/v2'; |
25 | 25 | protected $requestTokenURL = 'https://www.tumblr.com/oauth/request_token'; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * @link https://api.slack.com/docs/conversations-api |
23 | 23 | * @link https://api.slack.com/rtm |
24 | 24 | */ |
25 | -class SlackEndpoints extends EndpointMap{ |
|
25 | +class SlackEndpoints extends EndpointMap { |
|
26 | 26 | |
27 | 27 | protected $userIdentity = [ |
28 | 28 | 'path' => '/users.identity', |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @method \Psr\Http\Message\ResponseInterface userIdentity() |
23 | 23 | */ |
24 | -class Slack extends OAuth2Provider implements CSRFToken{ |
|
24 | +class Slack extends OAuth2Provider implements CSRFToken { |
|
25 | 25 | |
26 | 26 | // bot token |
27 | 27 | public const SCOPE_BOT = 'bot'; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @method \Psr\Http\Message\ResponseInterface me() |
21 | 21 | */ |
22 | -class Wordpress extends OAuth2Provider implements CSRFToken{ |
|
22 | +class Wordpress extends OAuth2Provider implements CSRFToken { |
|
23 | 23 | |
24 | 24 | public const SCOPE_AUTH = 'auth'; |
25 | 25 | public const SCOPE_GLOBAL = 'global'; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @link https://developer.wordpress.com/docs/api/ |
19 | 19 | */ |
20 | -class WordpressEndpoints extends EndpointMap{ |
|
20 | +class WordpressEndpoints extends EndpointMap { |
|
21 | 21 | |
22 | 22 | protected $me = [ |
23 | 23 | 'path' => '/me', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * Note: the endpoints are ordered by the api docs (against any logical pattern) |
22 | 22 | */ |
23 | -class VimeoEndpoints extends EndpointMap{ |
|
23 | +class VimeoEndpoints extends EndpointMap { |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Albums |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | */ |
19 | -class OpenStreetmapEndpoints extends EndpointMap{ |
|
19 | +class OpenStreetmapEndpoints extends EndpointMap { |
|
20 | 20 | |
21 | 21 | protected $API_BASE = '/api/0.6'; |
22 | 22 |