Failed Conditions
Push — master ( d3ed62...7f2d83 )
by Florent
281:43 queued 02:00
created
src/Component/AuthorizationCodeGrant/AuthorizationCode.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
     private $redirectUri;
27 27
     private $used;
28 28
 
29
+    /**
30
+     * @param ResourceServerId|null $resourceServerId
31
+     */
29 32
     public function __construct(AuthorizationCodeId $authorizationCodeId, ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, \DateTimeImmutable $expiresAt, DataBag $parameter, DataBag $metadata, ?ResourceServerId $resourceServerId)
30 33
     {
31 34
         parent::__construct($authorizationCodeId, $clientId, $userAccountId, $parameter, $metadata, $expiresAt, $resourceServerId);
Please login to merge, or discard this patch.
Component/AuthorizationCodeGrant/AuthorizationCodeRevocationTypeHint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return 'auth_code';
31 31
     }
32 32
 
33
+    /**
34
+     * @return Token
35
+     */
33 36
     public function find(string $token): ?Token
34 37
     {
35 38
         $id = new AuthorizationCodeId($token);
Please login to merge, or discard this patch.
Component/AuthorizationEndpoint/Exception/CreateRedirectionException.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 
22 22
     private $description;
23 23
 
24
+    /**
25
+     * @param string $description
26
+     */
24 27
     public function __construct(Authorization $authorization, string $message, ?string $description)
25 28
     {
26 29
         parent::__construct($message);
@@ -33,6 +36,9 @@  discard block
 block discarded – undo
33 36
         return $this->authorization;
34 37
     }
35 38
 
39
+    /**
40
+     * @return string
41
+     */
36 42
     public function getDescription(): ?string
37 43
     {
38 44
         return $this->description;
Please login to merge, or discard this patch.
Component/AuthorizationEndpoint/Exception/OAuth2AuthorizationException.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -21,6 +21,10 @@
 block discarded – undo
21 21
 
22 22
     private $errorDescription;
23 23
 
24
+    /**
25
+     * @param string $errorDescription
26
+     * @param \InvalidArgumentException $previous
27
+     */
24 28
     public function __construct(int $code, string $error, ?string $errorDescription, Authorization $authorization, ?\Exception $previous = null)
25 29
     {
26 30
         $this->authorization = $authorization;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Extension/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
 interface Extension
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function processAfter(ServerRequestInterface $request, Authorization $authorization): void;
22 25
 
23 26
     public function processBefore(ServerRequestInterface $request, Authorization $authorization): void;
Please login to merge, or discard this patch.
src/Component/Core/AccessToken/AccessTokenHandlerManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->accessTokenHandlers[] = $accessTokenHandler;
26 26
     }
27 27
 
28
+    /**
29
+     * @return AccessToken
30
+     */
28 31
     public function find(AccessTokenId $tokenId): ?AccessToken
29 32
     {
30 33
         foreach ($this->accessTokenHandlers as $accessTokenHandler) {
Please login to merge, or discard this patch.
src/Component/Core/TokenType/TokenTypeManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         return $this->get($this->defaultTokenType);
67 67
     }
68 68
 
69
+    /**
70
+     * @return string
71
+     */
69 72
     public function findToken(ServerRequestInterface $request, array &$additionalCredentialValues, ?TokenType &$type = null): ?string
70 73
     {
71 74
         foreach ($this->all() as $tmp_type) {
Please login to merge, or discard this patch.
src/Component/RefreshTokenGrant/RefreshTokenRevocationTypeHint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return 'refresh_token';
31 31
     }
32 32
 
33
+    /**
34
+     * @return Token
35
+     */
33 36
     public function find(string $token): ?Token
34 37
     {
35 38
         $id = new RefreshTokenId($token);
Please login to merge, or discard this patch.
src/Component/TokenRevocationEndpoint/TokenTypeHint.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function hint(): string;
21 21
 
22
+    /**
23
+     * @return Token
24
+     */
22 25
     public function find(string $token): ?Token;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function revoke(Token $token): void;
25 31
 }
Please login to merge, or discard this patch.