@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | */ |
| 19 | -class GoogleEndpoints extends EndpointMap{ |
|
| 19 | +class GoogleEndpoints extends EndpointMap { |
|
| 20 | 20 | |
| 21 | 21 | protected array $me = [ |
| 22 | 22 | 'path' => '/userinfo/v2/me', |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * @method \Psr\Http\Message\ResponseInterface me() |
| 21 | 21 | * @method \Psr\Http\Message\ResponseInterface user(string $username) |
| 22 | 22 | */ |
| 23 | -class Mixcloud extends OAuth2Provider{ |
|
| 23 | +class Mixcloud extends OAuth2Provider { |
|
| 24 | 24 | |
| 25 | 25 | protected string $authURL = 'https://www.mixcloud.com/oauth/authorize'; |
| 26 | 26 | protected string $accessTokenURL = 'https://www.mixcloud.com/oauth/access_token'; |
@@ -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 array $me = [ |
| 26 | 26 | 'path' => '/me/', |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * @method \Psr\Http\Message\ResponseInterface updateDiscount(string $account_id, string $discount_id, array $body = ['type', 'name', 'code', 'active_at', 'expires_at', 'requirement_type', 'expiration_type', 'reward_type', 'application_type', 'percent_discount', 'flat_rate_discount', 'use_limit', 'minimum_cart_total', 'minimum_cart_quantity']) |
| 46 | 46 | * @method \Psr\Http\Message\ResponseInterface updateOrder(string $account_id, string $order_id, array $body = ['id', 'type', 'customer_first_name', 'customer_last_name', 'customer_email', 'shipping_address_1', 'shipping_address_2', 'shipping_city', 'shipping_state', 'shipping_zip', 'shipping_country_id', 'shipping_status']) |
| 47 | 47 | */ |
| 48 | -class BigCartel extends OAuth2Provider implements CSRFToken{ |
|
| 48 | +class BigCartel extends OAuth2Provider implements CSRFToken { |
|
| 49 | 49 | |
| 50 | 50 | protected string $authURL = 'https://my.bigcartel.com/oauth/authorize'; |
| 51 | 51 | protected string $accessTokenURL = 'https://api.bigcartel.com/oauth/token'; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @link https://develop.battle.net/documentation/api-reference |
| 19 | 19 | */ |
| 20 | -class BattleNetEndpoints extends EndpointMap{ |
|
| 20 | +class BattleNetEndpoints extends EndpointMap { |
|
| 21 | 21 | |
| 22 | 22 | protected array $userinfo = [ |
| 23 | 23 | 'path' => '/oauth/userinfo', |
@@ -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 array $userIdentity = [ |
| 28 | 28 | 'path' => '/users.identity', |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @link https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0 |
| 19 | 19 | */ |
| 20 | -class MicrosoftGraphEndpoints extends EndpointMap{ |
|
| 20 | +class MicrosoftGraphEndpoints extends EndpointMap { |
|
| 21 | 21 | |
| 22 | 22 | protected string $API_BASE = '/v1.0'; |
| 23 | 23 | |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | use chillerlan\OAuth\MagicAPI\EndpointMap; |
| 16 | 16 | |
| 17 | -class FlickrEndpoints extends EndpointMap{ |
|
| 17 | +class FlickrEndpoints extends EndpointMap { |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @link https://www.flickr.com/services/api/flickr.activity.userComments.html |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | */ |
| 19 | -class BitbucketEndpoints extends EndpointMap{ |
|
| 19 | +class BitbucketEndpoints extends EndpointMap { |
|
| 20 | 20 | |
| 21 | 21 | protected string $API_BASE = '/2.0'; |
| 22 | 22 | |