Completed
Push — master ( aaba5a...c6baf0 )
by Florent
04:07
created
Component/Core/Tests/AccessToken/AccessTokenIntrospectionTypeHintTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use OAuth2Framework\Component\Core\AccessToken\AccessToken;
17 17
 use OAuth2Framework\Component\Core\AccessToken\AccessTokenId;
18
-use OAuth2Framework\Component\Core\AccessToken\AccessTokenRepository;
19 18
 use OAuth2Framework\Component\Core\AccessToken\AccessTokenIntrospectionTypeHint;
19
+use OAuth2Framework\Component\Core\AccessToken\AccessTokenRepository;
20 20
 use OAuth2Framework\Component\Core\Client\ClientId;
21 21
 use OAuth2Framework\Component\Core\DataBag\DataBag;
22 22
 use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId;
Please login to merge, or discard this patch.
src/Component/TokenRevocationEndpoint/TokenTypeHint.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param Token $token
34
+     * @return void
34 35
      */
35 36
     public function revoke(Token $token);
36 37
 }
Please login to merge, or discard this patch.
src/Component/MetadataEndpoint/Tests/MetadataEndpointTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
15 15
 
16 16
 use Http\Message\MessageFactory\DiactorosMessageFactory;
17 17
 use Http\Message\ResponseFactory;
18
-use Psr\Http\Server\RequestHandlerInterface;
19 18
 use Jose\Component\Core\AlgorithmManager;
20 19
 use Jose\Component\Core\Converter\StandardConverter;
21 20
 use Jose\Component\Core\JWK;
@@ -25,6 +24,7 @@  discard block
 block discarded – undo
25 24
 use OAuth2Framework\Component\MetadataEndpoint\MetadataEndpoint;
26 25
 use PHPUnit\Framework\TestCase;
27 26
 use Psr\Http\Message\ServerRequestInterface;
27
+use Psr\Http\Server\RequestHandlerInterface;
28 28
 
29 29
 /**
30 30
  * @group MetadataEndpoint
Please login to merge, or discard this patch.
Component/TokenRevocationEndpoint/Tests/TokenRevocationGetEndpointTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
15 15
 
16 16
 use Http\Message\MessageFactory\DiactorosMessageFactory;
17 17
 use Http\Message\ResponseFactory;
18
-use Psr\Http\Server\RequestHandlerInterface;
19 18
 use OAuth2Framework\Component\Core\Client\Client;
20 19
 use OAuth2Framework\Component\Core\Client\ClientId;
21 20
 use OAuth2Framework\Component\Core\DataBag\DataBag;
@@ -26,6 +25,7 @@  discard block
 block discarded – undo
26 25
 use OAuth2Framework\Component\TokenRevocationEndpoint\TokenTypeHintManager;
27 26
 use PHPUnit\Framework\TestCase;
28 27
 use Psr\Http\Message\ServerRequestInterface;
28
+use Psr\Http\Server\RequestHandlerInterface;
29 29
 
30 30
 /**
31 31
  * @group TokenRevocationEndpoint
Please login to merge, or discard this patch.
src/Component/ClientRegistrationEndpoint/InitialAccessTokenRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * @param InitialAccessToken $initialAccessToken
20
+     * @return void
20 21
      */
21 22
     public function save(InitialAccessToken $initialAccessToken);
22 23
 
Please login to merge, or discard this patch.
src/Component/Core/Client/ClientRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
      * Save the client.
20 20
      *
21 21
      * @param Client $client
22
+     * @return void
22 23
      */
23 24
     public function save(Client $client);
24 25
 
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Authorization.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
 
310 310
     /**
311 311
      * @param string $responseHeader
312
-     * @param mixed  $value
312
+     * @param string  $value
313 313
      *
314 314
      * @return Authorization
315 315
      */
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
     /**
433 433
      * @param string $key
434
-     * @param mixed  $data
434
+     * @param boolean  $data
435 435
      *
436 436
      * @return Authorization
437 437
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use OAuth2Framework\Component\Core\Client\Client;
18 18
 use OAuth2Framework\Component\Core\DataBag\DataBag;
19 19
 use OAuth2Framework\Component\Core\ResourceServer\ResourceServer;
20
-use OAuth2Framework\Component\Core\UserAccount\UserAccount;
21 20
 use OAuth2Framework\Component\Core\TokenType\TokenType;
21
+use OAuth2Framework\Component\Core\UserAccount\UserAccount;
22 22
 
23 23
 class Authorization
24 24
 {
Please login to merge, or discard this patch.
src/Component/RefreshTokenGrant/RefreshTokenRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @param RefreshToken $refreshToken
24
+     * @return void
24 25
      */
25 26
     public function save(RefreshToken $refreshToken);
26 27
 
Please login to merge, or discard this patch.
ClientAuthentication/Tests/ClientSecretBasicAuthenticationMethodTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\ClientAuthentication\Tests;
15 15
 
16
+use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager;
17
+use OAuth2Framework\Component\ClientAuthentication\ClientSecretBasic;
16 18
 use OAuth2Framework\Component\Core\Client\Client;
17 19
 use OAuth2Framework\Component\Core\Client\ClientId;
18 20
 use OAuth2Framework\Component\Core\DataBag\DataBag;
19 21
 use OAuth2Framework\Component\Core\UserAccount\UserAccountId;
20
-use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager;
21
-use OAuth2Framework\Component\ClientAuthentication\ClientSecretBasic;
22 22
 use PHPUnit\Framework\TestCase;
23 23
 use Psr\Http\Message\ServerRequestInterface;
24 24
 
Please login to merge, or discard this patch.