Passed
Push — develop ( 99ab85...047ac0 )
by nguereza
02:33
created
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.
src/Service/AccessTokenService.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class AccessTokenService
40 40
  * @package Platine\OAuth2\Service
41 41
  */
42
-class AccessTokenService extends BaseTokenService
43
-{
42
+class AccessTokenService extends BaseTokenService {
44 43
     /**
45 44
      * The AccessTokenRepositoryInterface instance
46 45
      * @var AccessTokenRepositoryInterface
Please login to merge, or discard this patch.
src/Service/ScopeService.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@  discard block
 block discarded – undo
39 39
  * @class ScopeService
40 40
  * @package Platine\OAuth2\Service
41 41
  */
42
-class ScopeService
43
-{
42
+class ScopeService {
44 43
     /**
45 44
      * The ScopeRepository instance
46 45
      * @var ScopeRepositoryInterface
@@ -51,8 +50,7 @@  discard block
 block discarded – undo
51 50
      * Create new instance
52 51
      * @param ScopeRepositoryInterface $scopeRepository
53 52
      */
54
-    public function __construct(ScopeRepositoryInterface $scopeRepository)
55
-    {
53
+    public function __construct(ScopeRepositoryInterface $scopeRepository) {
56 54
         $this->scopeRepository = $scopeRepository;
57 55
     }
58 56
 
Please login to merge, or discard this patch.