Passed
Push — develop ( 0280a8...d5d096 )
by nguereza
01:46
created
src/Entity/UserAuthenticationInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@
 block discarded – undo
38 38
  * @class TokenOwnerInterface
39 39
  * @package Platine\OAuth2\Entity
40 40
  */
41
-interface UserAuthenticationInterface
42
-{
41
+interface UserAuthenticationInterface {
43 42
     /**
44 43
      * Validate the user
45 44
      * this MUST return an object that implement the TokenOwnerInterface, or
Please login to merge, or discard this patch.
src/AuthorizationServerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/AuthorizationServer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/ResourceServer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/ResourceServerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Middleware/AuthorizationRequestMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  * @class AuthorizationRequestMiddleware
43 43
  * @package Platine\OAuth2\Middleware
44 44
  */
45
-class AuthorizationRequestMiddleware implements MiddlewareInterface
46
-{
45
+class AuthorizationRequestMiddleware implements MiddlewareInterface {
47 46
     /**
48 47
      * The authorization server instance
49 48
      * @var AuthorizationServerInterface
Please login to merge, or discard this patch.
src/Middleware/TokenRequestMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  * @class TokenRequestMiddleware
43 43
  * @package Platine\OAuth2\Middleware
44 44
  */
45
-class TokenRequestMiddleware implements MiddlewareInterface
46
-{
45
+class TokenRequestMiddleware implements MiddlewareInterface {
47 46
     /**
48 47
      * The authorization server instance
49 48
      * @var AuthorizationServerInterface
Please login to merge, or discard this patch.
src/Middleware/RevocationRequestMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  * @class RevocationRequestMiddleware
43 43
  * @package Platine\OAuth2\Middleware
44 44
  */
45
-class RevocationRequestMiddleware implements MiddlewareInterface
46
-{
45
+class RevocationRequestMiddleware implements MiddlewareInterface {
47 46
     /**
48 47
      * The authorization server instance
49 48
      * @var AuthorizationServerInterface
Please login to merge, or discard this patch.
src/Middleware/ResourceServerMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class ResourceServerMiddleware
53 53
  * @package Platine\OAuth2\Middleware
54 54
  */
55
-class ResourceServerMiddleware implements MiddlewareInterface
56
-{
55
+class ResourceServerMiddleware implements MiddlewareInterface {
57 56
     /**
58 57
      * The resource server instance
59 58
      * @var ResourceServerInterface
Please login to merge, or discard this patch.