Passed
Push — develop ( 641a70...483548 )
by nguereza
01:41
created
src/Entity/Scope.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@  discard block
 block discarded – undo
36 36
  * @class Scope
37 37
  * @package Platine\OAuth2\Entity
38 38
  */
39
-class Scope
40
-{
39
+class Scope {
41 40
     /**
42 41
      * The scope id
43 42
      * @var int
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
     /**
66 65
      * Can not rewrite the constructor in child classes
67 66
      */
68
-    final public function __construct()
69
-    {
67
+    final public function __construct() {
70 68
     }
71 69
 
72 70
     /**
Please login to merge, or discard this patch.
src/Entity/AuthorizationCode.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
  * @class AuthorizationCode
37 37
  * @package Platine\OAuth2\Entity
38 38
  */
39
-class AuthorizationCode extends BaseToken
40
-{
39
+class AuthorizationCode extends BaseToken {
41 40
     /**
42 41
      * The redirect URI
43 42
      * @var string
Please login to merge, or discard this patch.
src/Entity/BaseToken.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@  discard block
 block discarded – undo
43 43
  * @class BaseToken
44 44
  * @package Platine\OAuth2\Entity
45 45
  */
46
-abstract class BaseToken
47
-{
46
+abstract class BaseToken {
48 47
     /**
49 48
      * The token value
50 49
      * @var string
@@ -78,8 +77,7 @@  discard block
 block discarded – undo
78 77
     /**
79 78
      * Can not rewrite the constructor in child classes
80 79
      */
81
-    final public function __construct()
82
-    {
80
+    final public function __construct() {
83 81
     }
84 82
 
85 83
     /**
Please login to merge, or discard this patch.
src/Repository/RefreshTokenRepositoryInterface.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 RefreshTokenRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface RefreshTokenRepositoryInterface extends TokenRepositoryInterface
42
-{
41
+interface RefreshTokenRepositoryInterface extends TokenRepositoryInterface {
43 42
     /**
44 43
      * Save the refresh token
45 44
      * @param RefreshToken $token
Please login to merge, or discard this patch.
src/Repository/TokenRepositoryInterface.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 TokenRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface TokenRepositoryInterface
42
-{
41
+interface TokenRepositoryInterface {
43 42
     /**
44 43
      * Find the token
45 44
      * @param string $token
Please login to merge, or discard this patch.
src/Repository/ClientRepositoryInterface.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 ClientRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface ClientRepositoryInterface
42
-{
41
+interface ClientRepositoryInterface {
43 42
     /**
44 43
      * Save the client
45 44
      * @param Client $client
Please login to merge, or discard this patch.
src/Repository/AccessTokenRepositoryInterface.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 AccessTokenRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface AccessTokenRepositoryInterface extends TokenRepositoryInterface
42
-{
41
+interface AccessTokenRepositoryInterface extends TokenRepositoryInterface {
43 42
     /**
44 43
      * Save the token
45 44
      * @param AccessToken $token
Please login to merge, or discard this patch.
src/Repository/AuthorizationCodeRepositoryInterface.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 AuthorizationCodeRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface AuthorizationCodeRepositoryInterface extends TokenRepositoryInterface
42
-{
41
+interface AuthorizationCodeRepositoryInterface extends TokenRepositoryInterface {
43 42
     /**
44 43
      * Save the authorization code
45 44
      * @param AuthorizationCode $token
Please login to merge, or discard this patch.
src/Repository/ScopeRepositoryInterface.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 ScopeRepositoryInterface
39 39
  * @package Platine\OAuth2\Repository
40 40
  */
41
-interface ScopeRepositoryInterface
42
-{
41
+interface ScopeRepositoryInterface {
43 42
     /**
44 43
      * Save the scope
45 44
      * @param Scope $scope
Please login to merge, or discard this patch.