@@ -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 | } |
@@ -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 $API_BASE = '/api'; |
22 | 22 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @todo hellooo??? https://twitter.com/codemasher/status/982315427308146689 |
21 | 21 | */ |
22 | -class LastFMEndpoints extends EndpointMap{ |
|
22 | +class LastFMEndpoints extends EndpointMap { |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @link https://www.last.fm/api/show/album.addTags |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @link https://developer.gitter.im/docs/rest-api |
19 | 19 | */ |
20 | -class GitterEndpoints extends EndpointMap{ |
|
20 | +class GitterEndpoints extends EndpointMap { |
|
21 | 21 | |
22 | 22 | protected $me = [ |
23 | 23 | 'path' => '/user/me', |
@@ -67,12 +67,12 @@ |
||
67 | 67 | * |
68 | 68 | * |
69 | 69 | */ |
70 | -class SoundCloudEndpoints extends EndpointMap{ |
|
70 | +class SoundCloudEndpoints extends EndpointMap { |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @link |
74 | 74 | */ |
75 | - protected $me = [ |
|
75 | + protected $me = [ |
|
76 | 76 | 'path' => '/me', |
77 | 77 | 'method' => 'GET', |
78 | 78 | 'query' => [], |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @method \Psr\Http\Message\ResponseInterface me() |
22 | 22 | * @method \Psr\Http\Message\ResponseInterface user(string $id) |
23 | 23 | */ |
24 | -class SoundCloud extends OAuth2Provider implements TokenExpires{ |
|
24 | +class SoundCloud extends OAuth2Provider implements TokenExpires { |
|
25 | 25 | |
26 | 26 | public const SCOPE_NONEXPIRING = 'non-expiring'; |
27 | 27 | # public const SCOPE_EMAIL = 'email'; // ??? |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | use chillerlan\HTTP\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 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @link https://www.instagram.com/developer/endpoints/ |
19 | 19 | */ |
20 | -class InstagramEndpoints extends EndpointMap{ |
|
20 | +class InstagramEndpoints extends EndpointMap { |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @link |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * @method \Psr\Http\Message\ResponseInterface tags(string $tagname) |
44 | 44 | * @method \Psr\Http\Message\ResponseInterface tagsRecentMedia(string $tagname, array $params = ['max_tag_id', 'min_tag_id', 'count']) |
45 | 45 | */ |
46 | -class Instagram extends OAuth2Provider implements CSRFToken{ |
|
46 | +class Instagram extends OAuth2Provider implements CSRFToken { |
|
47 | 47 | |
48 | 48 | public const SCOPE_BASIC = 'basic'; |
49 | 49 | public const SCOPE_COMMENTS = 'comments'; |