@@ -42,8 +42,7 @@ |
||
42 | 42 | * @class AuthorizationServerInterface |
43 | 43 | * @package Platine\OAuth2 |
44 | 44 | */ |
45 | -interface AuthorizationServerInterface |
|
46 | -{ |
|
45 | +interface AuthorizationServerInterface { |
|
47 | 46 | /** |
48 | 47 | * Whether the authorization server has support the given grant |
49 | 48 | * @param string $grant |
@@ -51,8 +51,7 @@ |
||
51 | 51 | * @class AuthorizationServer |
52 | 52 | * @package Platine\OAuth2 |
53 | 53 | */ |
54 | -class AuthorizationServer implements AuthorizationServerInterface |
|
55 | -{ |
|
54 | +class AuthorizationServer implements AuthorizationServerInterface { |
|
56 | 55 | /** |
57 | 56 | * The ClientService |
58 | 57 | * @var ClientService |
@@ -47,8 +47,7 @@ |
||
47 | 47 | * @class ResourceServer |
48 | 48 | * @package Platine\OAuth2 |
49 | 49 | */ |
50 | -class ResourceServer implements ResourceServerInterface |
|
51 | -{ |
|
50 | +class ResourceServer implements ResourceServerInterface { |
|
52 | 51 | /** |
53 | 52 | * The AccessTokenService |
54 | 53 | * @var AccessTokenService |
@@ -45,8 +45,7 @@ |
||
45 | 45 | * @class ResourceServerInterface |
46 | 46 | * @package Platine\OAuth2 |
47 | 47 | */ |
48 | -interface ResourceServerInterface |
|
49 | -{ |
|
48 | +interface ResourceServerInterface { |
|
50 | 49 | /** |
51 | 50 | * Return the access token |
52 | 51 | * @param ServerRequestInterface $request |