Failed Conditions
Push — master ( 7f2d83...323120 )
by Florent
05:07
created
src/Component/Core/TrustedIssuer/TrustedIssuerRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,5 +15,8 @@
 block discarded – undo
15 15
 
16 16
 interface TrustedIssuerRepository
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function find(string $trustedIssuer): ?TrustedIssuer;
19 22
 }
Please login to merge, or discard this patch.
src/Component/WebFingerEndpoint/Link.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param string[] $titles
26 26
      * @param mixed[]  $properties
27
+     * @param string $href
27 28
      */
28 29
     public function __construct(string $rel, ?string $type, ?string $href, array $titles, array $properties)
29 30
     {
Please login to merge, or discard this patch.
src/Component/WebFingerEndpoint/ResourceDescriptor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
      * @param string[] $aliases
25 25
      * @param mixed[]  $properties
26 26
      * @param Link[]   $links
27
+     * @param string $subject
27 28
      */
28 29
     public function __construct(?string $subject, array $aliases, array $properties, array $links)
29 30
     {
Please login to merge, or discard this patch.
src/Component/WebFingerEndpoint/ResourceRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface ResourceRepository
19 19
 {
20
+    /**
21
+     * @return null|ResourceDescriptor
22
+     */
20 23
     public function find(string $resource, Identifier $identifier): ?ResourceDescriptor;
21 24
 }
Please login to merge, or discard this patch.
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.
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.