@@ -20,7 +20,7 @@ |
||
20 | 20 | * @method \Psr\Http\Message\ResponseInterface currentUser() |
21 | 21 | * @method \Psr\Http\Message\ResponseInterface currentUserCampaigns(array $params = ['includes']) |
22 | 22 | */ |
23 | -class Patreon1 extends PatreonAbstract{ |
|
23 | +class Patreon1 extends PatreonAbstract { |
|
24 | 24 | |
25 | 25 | public const SCOPE_USERS = 'users'; |
26 | 26 | public const SCOPE_PLEDGES_TO_ME = 'pledges-to-me'; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | */ |
19 | -class Patreon2Endpoints extends EndpointMap{ |
|
19 | +class Patreon2Endpoints extends EndpointMap { |
|
20 | 20 | |
21 | 21 | protected string $API_BASE = '/v2'; |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | */ |
19 | -class Patreon1Endpoints extends EndpointMap{ |
|
19 | +class Patreon1Endpoints extends EndpointMap { |
|
20 | 20 | |
21 | 21 | protected string $API_BASE = '/api'; |
22 | 22 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @method \Psr\Http\Message\ResponseInterface memberId(string $member_id, array $params = ['fields[member]', 'fields[tier]', 'fields[user]']) |
24 | 24 | * @method \Psr\Http\Message\ResponseInterface webhooks(array $params = ['fields[webhook]']) |
25 | 25 | */ |
26 | -class Patreon2 extends PatreonAbstract{ |
|
26 | +class Patreon2 extends PatreonAbstract { |
|
27 | 27 | |
28 | 28 | // wow, consistency... |
29 | 29 | public const SCOPE_IDENTITY = 'identity'; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @link https://stripe.com/docs/api |
19 | 19 | */ |
20 | -class StripeEndpoints extends EndpointMap{ |
|
20 | +class StripeEndpoints extends EndpointMap { |
|
21 | 21 | |
22 | 22 | protected array $me = [ |
23 | 23 | 'path' => '/accounts', |
@@ -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 array $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 string $requestTokenURL = 'https://www.tumblr.com/oauth/request_token'; |
25 | 25 | protected string $authURL = 'https://www.tumblr.com/oauth/authorize'; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | */ |
19 | -class AmazonEndpoints extends EndpointMap{ |
|
19 | +class AmazonEndpoints extends EndpointMap { |
|
20 | 20 | |
21 | 21 | protected array $userProfile = [ |
22 | 22 | 'path' => '/user/profile', |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @todo |
21 | 21 | */ |
22 | -class GitHubEndpoints extends EndpointMap{ |
|
22 | +class GitHubEndpoints extends EndpointMap { |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @link https://developer.github.com/v3/users/#get-the-authenticated-user |