Failed Conditions
Push — master ( b0e939...893034 )
by Florent
19:07
created
src/Component/JwtBearerGrant/JwtBearerGrantType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@
 block discarded – undo
303 303
     /**
304 304
      * @param string $subject
305 305
      *
306
-     * @return ResourceOwnerId|null
306
+     * @return ResourceOwnerId
307 307
      */
308 308
     private function findResourceOwner(string $subject): ? ResourceOwnerId
309 309
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,16 +26,16 @@
 block discarded – undo
26 26
 use Jose\Component\Signature\JWSVerifier;
27 27
 use Jose\Component\Signature\Serializer\CompactSerializer as JwsCompactSerializer;
28 28
 use OAuth2Framework\Component\Core\Client\Client;
29
-use OAuth2Framework\Component\Core\Util\RequestBodyParser;
30
-use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
31 29
 use OAuth2Framework\Component\Core\Client\ClientId;
32 30
 use OAuth2Framework\Component\Core\Client\ClientRepository;
31
+use OAuth2Framework\Component\Core\Message\OAuth2Message;
33 32
 use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwnerId;
33
+use OAuth2Framework\Component\Core\TrustedIssuer\TrustedIssuerRepository;
34 34
 use OAuth2Framework\Component\Core\UserAccount\UserAccountId;
35 35
 use OAuth2Framework\Component\Core\UserAccount\UserAccountRepository;
36
-use OAuth2Framework\Component\Core\Message\OAuth2Message;
36
+use OAuth2Framework\Component\Core\Util\RequestBodyParser;
37 37
 use OAuth2Framework\Component\TokenEndpoint\GrantType;
38
-use OAuth2Framework\Component\Core\TrustedIssuer\TrustedIssuerRepository;
38
+use OAuth2Framework\Component\TokenEndpoint\GrantTypeData;
39 39
 use Psr\Http\Message\ServerRequestInterface;
40 40
 
41 41
 class JwtBearerGrantType implements GrantType
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Authorization.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 
336 336
     /**
337 337
      * @param string $responseHeader
338
-     * @param mixed  $value
338
+     * @param string  $value
339 339
      *
340 340
      * @return Authorization
341 341
      */
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
     /**
456 456
      * @param string $key
457
-     * @param mixed  $data
457
+     * @param boolean  $data
458 458
      *
459 459
      * @return Authorization
460 460
      */
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 
530 530
     /**
531 531
      * @param string     $key
532
-     * @param mixed|null $data
532
+     * @param string|null $data
533 533
      *
534 534
      * @return Authorization
535 535
      */
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.