@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | use chillerlan\OAuth\MagicAPI\EndpointMap; |
| 19 | 19 | |
| 20 | -class MusicBrainzEndpoints extends EndpointMap{ |
|
| 20 | +class MusicBrainzEndpoints extends EndpointMap { |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * oauth2 |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * @method \Psr\Http\Message\ResponseInterface userDetails() |
| 22 | 22 | */ |
| 23 | -class OpenStreetmap extends OAuth1Provider{ |
|
| 23 | +class OpenStreetmap extends OAuth1Provider { |
|
| 24 | 24 | |
| 25 | 25 | protected string $requestTokenURL = 'https://www.openstreetmap.org/oauth/request_token'; |
| 26 | 26 | protected string $authURL = 'https://www.openstreetmap.org/oauth/authorize'; |
@@ -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 string $API_BASE = '/api/0.6'; |
| 22 | 22 | |
@@ -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 array $me = [ |
| 23 | 23 | 'path' => '/users/self', |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * @method \Psr\Http\Message\ResponseInterface usersUser(array $params = ['fields', 'user_uuid', 'format', 'callback']) |
| 61 | 61 | * @method \Psr\Http\Message\ResponseInterface usersUsers(array $params = ['user_uuids', 'fields', 'format', 'callback']) |
| 62 | 62 | */ |
| 63 | -class OpenCaching extends OAuth1Provider{ |
|
| 63 | +class OpenCaching extends OAuth1Provider { |
|
| 64 | 64 | |
| 65 | 65 | protected string $requestTokenURL = 'https://www.opencaching.de/okapi/services/oauth/request_token'; |
| 66 | 66 | protected string $authURL = 'https://www.opencaching.de/okapi/services/oauth/authorize'; |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * @method \Psr\Http\Message\ResponseInterface wantlistRemove(string $username, string $release_id) |
| 72 | 72 | * @method \Psr\Http\Message\ResponseInterface wantlistUpdate(string $username, string $release_id, array $body = ['notes', 'rating']) |
| 73 | 73 | */ |
| 74 | -class Discogs extends OAuth1Provider{ |
|
| 74 | +class Discogs extends OAuth1Provider { |
|
| 75 | 75 | |
| 76 | 76 | protected string $requestTokenURL = 'https://api.discogs.com/oauth/request_token'; |
| 77 | 77 | protected string $authURL = 'https://www.discogs.com/oauth/authorize'; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | */ |
| 19 | -class ImgurEndpoints extends EndpointMap{ |
|
| 19 | +class ImgurEndpoints extends EndpointMap { |
|
| 20 | 20 | |
| 21 | 21 | protected array $me = [ |
| 22 | 22 | 'path' => '/3/account/me', |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @link https://discordapp.com/developers/docs/intro |
| 19 | 19 | * @todo |
| 20 | 20 | */ |
| 21 | -class DiscordEndpoints extends EndpointMap{ |
|
| 21 | +class DiscordEndpoints extends EndpointMap { |
|
| 22 | 22 | |
| 23 | 23 | protected array $me = [ |
| 24 | 24 | 'path' => '/users/@me', |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @link https://dev.npr.org/api/ |
| 19 | 19 | */ |
| 20 | -class NPROneEndpoints extends EndpointMap{ |
|
| 20 | +class NPROneEndpoints extends EndpointMap { |
|
| 21 | 21 | |
| 22 | 22 | protected string $API_BASE = 'https://'; // i hate this so much |
| 23 | 23 | |