Failed Conditions
Push — ng ( fe3ccc...89ffb0 )
by Florent
09:19
created
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/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/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.
src/Bundle/Resolver/AccessTokenResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use OAuth2Framework\Bundle\Security\Authentication\Token\OAuth2Token;
17 17
 use OAuth2Framework\Component\Core\AccessToken\AccessToken;
18 18
 use Symfony\Component\HttpFoundation\Request;
19
-use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
20 19
 use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
20
+use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
21 21
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
22 22
 
23 23
 class AccessTokenResolver implements ArgumentValueResolverInterface
Please login to merge, or discard this patch.
src/Component/AuthorizationCodeGrant/AuthorizationCodeGrantType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Component\AuthorizationCodeGrant;
15 15
 
16 16
 use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\PKCEMethodManager;
17
-use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
18 17
 use OAuth2Framework\Component\Core\Client\Client;
19 18
 use OAuth2Framework\Component\Core\Exception\OAuth2Exception;
20 19
 use OAuth2Framework\Component\TokenEndpoint\GrantType;
20
+use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
21 21
 use Psr\Http\Message\ServerRequestInterface;
22 22
 
23 23
 class AuthorizationCodeGrantType implements GrantType
Please login to merge, or discard this patch.
src/Component/ClientAuthentication/AuthenticationMethodManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
      * @param ServerRequestInterface $request
129 129
      * @param Client                 $client
130 130
      * @param AuthenticationMethod   $authenticationMethod
131
-     * @param mixed                  $clientCredentials
131
+     * @param string                  $clientCredentials
132 132
      *
133 133
      * @return bool
134 134
      */
Please login to merge, or discard this patch.
src/Component/ClientAuthentication/ClientAuthenticationMiddleware.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\ClientAuthentication;
15 15
 
16
-use Psr\Http\Server\RequestHandlerInterface;
17
-use Psr\Http\Server\MiddlewareInterface;
18 16
 use OAuth2Framework\Component\Core\Client\Client;
19 17
 use OAuth2Framework\Component\Core\Client\ClientRepository;
20 18
 use OAuth2Framework\Component\Core\Exception\OAuth2Exception;
21 19
 use Psr\Http\Message\ResponseInterface;
22 20
 use Psr\Http\Message\ServerRequestInterface;
21
+use Psr\Http\Server\MiddlewareInterface;
22
+use Psr\Http\Server\RequestHandlerInterface;
23 23
 
24 24
 class ClientAuthenticationMiddleware implements MiddlewareInterface
25 25
 {
Please login to merge, or discard this patch.