@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * note: a missing slash at the end of the path will end up in a HTTP/301 |
| 22 | 22 | */ |
| 23 | -class MixcloudEndpoints extends EndpointMap{ |
|
| 23 | +class MixcloudEndpoints extends EndpointMap { |
|
| 24 | 24 | |
| 25 | 25 | protected $me = [ |
| 26 | 26 | 'path' => '/me/', |
@@ -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 $me = [ |
| 23 | 23 | 'path' => '/accounts', |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * Note: the endpoints are ordered by the api docs (against any logical pattern) |
| 26 | 26 | */ |
| 27 | -class DiscogsEndpoints extends EndpointMap{ |
|
| 27 | +class DiscogsEndpoints extends EndpointMap { |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Database |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * @method \Psr\Http\Message\ResponseInterface wantlistRemove(string $username, string $release_id) |
| 71 | 71 | * @method \Psr\Http\Message\ResponseInterface wantlistUpdate(string $username, string $release_id, array $body = ['notes', 'rating']) |
| 72 | 72 | */ |
| 73 | -class Discogs extends OAuth1Provider{ |
|
| 73 | +class Discogs extends OAuth1Provider { |
|
| 74 | 74 | |
| 75 | 75 | protected $apiURL = 'https://api.discogs.com'; |
| 76 | 76 | protected $requestTokenURL = 'https://api.discogs.com/oauth/request_token'; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @link https://developer.foursquare.com/docs |
| 19 | 19 | */ |
| 20 | -class FoursquareEndpoints extends EndpointMap{ |
|
| 20 | +class FoursquareEndpoints extends EndpointMap { |
|
| 21 | 21 | |
| 22 | 22 | protected $me = [ |
| 23 | 23 | 'path' => '/users/self', |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @method \Psr\Http\Message\ResponseInterface me() |
| 23 | 23 | */ |
| 24 | -class Foursquare extends OAuth2Provider{ |
|
| 24 | +class Foursquare extends OAuth2Provider { |
|
| 25 | 25 | |
| 26 | 26 | protected const API_VERSIONDATE = '20190225'; |
| 27 | 27 | |
@@ -23,7 +23,7 @@ discard block |
||
| 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'; |
@@ -35,6 +35,6 @@ discard block |
||
| 35 | 35 | public const SCOPE_CAMPAIGNS_MEMBERS_EMAIL = 'campaigns.members[email]'; |
| 36 | 36 | public const SCOPE_CAMPAIGNS_MEMBERS_ADDRESS = 'campaigns.members.address'; |
| 37 | 37 | |
| 38 | - protected $endpointMap = Patreon2Endpoints::class; |
|
| 38 | + protected $endpointMap = Patreon2Endpoints::class; |
|
| 39 | 39 | |
| 40 | 40 | } |
@@ -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 $API_BASE = '/v2'; |
| 22 | 22 | |
@@ -20,12 +20,12 @@ |
||
| 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'; |
| 27 | 27 | public const SCOPE_MY_CAMPAIGN = 'my-campaign'; |
| 28 | 28 | |
| 29 | - protected $endpointMap = Patreon1Endpoints::class; |
|
| 29 | + protected $endpointMap = Patreon1Endpoints::class; |
|
| 30 | 30 | |
| 31 | 31 | } |