Failed Conditions
Push — master ( 1bae70...6a9de1 )
by Florent
40:14
created
src/Component/TokenEndpoint/TokenEndpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
     private $accessTokenRepository;
43 43
     private $accessTokenLifetime;
44 44
 
45
+    /**
46
+     * @param UserAccountRepository $userAccountRepository
47
+     */
45 48
     public function __construct(ClientRepository $clientRepository, ?UserAccountRepository $userAccountRepository, TokenEndpointExtensionManager $tokenEndpointExtensionManager, ResponseFactory $responseFactory, AccessTokenIdGenerator $accessTokenIdGenerator, AccessTokenRepository $accessTokenRepository, int $accessLifetime)
46 49
     {
47 50
         $this->clientRepository = $clientRepository;
Please login to merge, or discard this patch.
src/Component/TokenIntrospectionEndpoint/TokenTypeHint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 {
20 20
     public function hint(): string;
21 21
 
22
+    /**
23
+     * @return \OAuth2Framework\Component\Core\AccessToken\AccessToken|null
24
+     */
22 25
     public function find(string $token): ?Token;
23 26
 
24 27
     public function introspect(Token $token): array;
Please login to merge, or discard this patch.
src/Component/OpenIdConnect/IdTokenBuilder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -56,6 +56,10 @@
 block discarded – undo
56 56
     private $jkuFactory = null;
57 57
     private $authorizationCodeRepository = null;
58 58
 
59
+    /**
60
+     * @param null|JKUFactory $jkuFactory
61
+     * @param null|AuthorizationCodeRepository $authorizationCodeRepository
62
+     */
59 63
     public function __construct(string $issuer, UserInfo $userinfo, int $lifetime, Client $client, UserAccount $userAccount, string $redirectUri, ?JKUFactory $jkuFactory, ?AuthorizationCodeRepository $authorizationCodeRepository)
60 64
     {
61 65
         $this->issuer = $issuer;
Please login to merge, or discard this patch.
src/Component/AuthorizationCodeGrant/AuthorizationCodeRepository.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -21,8 +21,12 @@
 block discarded – undo
21 21
      * @param AuthorizationCodeId $authorizationCodeId the authorization code string for which to fetch data
22 22
      *
23 23
      * @see     http://tools.ietf.org/html/rfc6749#section-4.1
24
+     * @return AuthorizationCode|null
24 25
      */
25 26
     public function find(AuthorizationCodeId $authorizationCodeId): ?AuthorizationCode;
26 27
 
28
+    /**
29
+     * @return void
30
+     */
27 31
     public function save(AuthorizationCode $authorizationCode): void;
28 32
 }
Please login to merge, or discard this patch.
src/Component/Core/AccessToken/AccessTokenHandler.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 AccessTokenHandler
17 17
 {
18
+    /**
19
+     * @return AccessToken|null
20
+     */
18 21
     public function find(AccessTokenId $token): ?AccessToken;
19 22
 }
Please login to merge, or discard this patch.
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.