Failed Conditions
Push — ng ( 75309d...bc6f2d )
by Florent
08:22
created
src/Component/TokenEndpoint/Extension/TokenEndpointExtensionManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * @param int $index
73 73
      *
74
-     * @return callable
74
+     * @return \Closure
75 75
      *
76 76
      * @throws OAuth2Exception
77 77
      */
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * @param int $index
94 94
      *
95
-     * @return callable
95
+     * @return \Closure
96 96
      *
97 97
      * @throws OAuth2Exception
98 98
      */
Please login to merge, or discard this 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\Client\Client;
18
-use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwner;
19 18
 use OAuth2Framework\Component\Core\Exception\OAuth2Exception;
19
+use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwner;
20 20
 use OAuth2Framework\Component\TokenEndpoint\GrantType;
21 21
 use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
22 22
 use Psr\Http\Message\ServerRequestInterface;
Please login to merge, or discard this patch.
src/Component/TokenEndpoint/GrantType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
      * @param ServerRequestInterface $request The request
39 39
      *
40 40
      * @throws OAuth2Exception
41
+     * @return void
41 42
      */
42 43
     public function checkRequest(ServerRequestInterface $request);
43 44
 
Please login to merge, or discard this patch.
Component/TokenIntrospectionEndpoint/Tests/TokenRevocationEndpointTest.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\ResourceServer\ResourceServer;
20 19
 use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId;
21 20
 use OAuth2Framework\Component\Core\Token\Token;
@@ -24,6 +23,7 @@  discard block
 block discarded – undo
24 23
 use OAuth2Framework\Component\TokenIntrospectionEndpoint\TokenTypeHintManager;
25 24
 use PHPUnit\Framework\TestCase;
26 25
 use Psr\Http\Message\ServerRequestInterface;
26
+use Psr\Http\Server\RequestHandlerInterface;
27 27
 
28 28
 /**
29 29
  * @group TokenIntrospectionEndpoint
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/AuthorizationCodeGrant/AuthorizationCodeRepository.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 AuthorizationCode $authorizationCode
20
+     * @return void
20 21
      */
21 22
     public function save(AuthorizationCode $authorizationCode);
22 23
 
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Authorization.php 1 patch
Doc Comments   +3 added lines, -3 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
      */
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
     /**
419 419
      * @param string $key
420 420
      *
421
-     * @return mixed
421
+     * @return boolean
422 422
      */
423 423
     public function getData(string $key)
424 424
     {
@@ -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.
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/AccessToken/AccessTokenRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param AccessToken $token
40
+     * @return void
40 41
      */
41 42
     public function save(AccessToken $token);
42 43
 
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.