@@ -40,8 +40,7 @@ |
||
40 | 40 | * @class AuthorizationServerAwareInterface |
41 | 41 | * @package Platine\OAuth2\Grant |
42 | 42 | */ |
43 | -interface AuthorizationServerAwareInterface |
|
44 | -{ |
|
43 | +interface AuthorizationServerAwareInterface { |
|
45 | 44 | /** |
46 | 45 | * Set the authorization server to be used |
47 | 46 | * @param AuthorizationServerInterface $authorizationServer |
@@ -92,8 +92,8 @@ |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
95 | - * {@inheritdoc} |
|
96 | - */ |
|
95 | + * {@inheritdoc} |
|
96 | + */ |
|
97 | 97 | public function createAuthorizationResponse( |
98 | 98 | ServerRequestInterface $request, |
99 | 99 | Client $client, |
@@ -46,8 +46,7 @@ |
||
46 | 46 | * @class AuthorizationGrant |
47 | 47 | * @package Platine\OAuth2\Grant |
48 | 48 | */ |
49 | -class AuthorizationGrant extends BaseGrant implements AuthorizationServerAwareInterface |
|
50 | -{ |
|
49 | +class AuthorizationGrant extends BaseGrant implements AuthorizationServerAwareInterface { |
|
51 | 50 | public const GRANT_TYPE = 'authorization_code'; |
52 | 51 | public const GRANT_RESPONSE_TYPE = 'code'; |
53 | 52 |
@@ -36,6 +36,5 @@ |
||
36 | 36 | * @class AuthorizationServerInterface |
37 | 37 | * @package Platine\OAuth2 |
38 | 38 | */ |
39 | -interface AuthorizationServerInterface |
|
40 | -{ |
|
39 | +interface AuthorizationServerInterface { |
|
41 | 40 | } |