Failed Conditions
Push — master ( 25685a...ee6f6b )
by Florent
69:19 queued 42:36
created
src/Component/ClientRegistrationEndpoint/InitialAccessToken.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
     private $expiresAt;
26 26
     private $userAccountId;
27 27
 
28
+    /**
29
+     * @param \DateTimeImmutable|null $expiresAt
30
+     */
28 31
     public function __construct(InitialAccessTokenId $initialAccessTokenId, UserAccountId $userAccountId, ?\DateTimeImmutable $expiresAt)
29 32
     {
30 33
         $this->initialAccessTokenId = $initialAccessTokenId;
Please login to merge, or discard this patch.
src/Component/Core/Client/Event/ClientCreatedEvent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
     private $parameters;
26 26
     private $userAccountId;
27 27
 
28
+    /**
29
+     * @param UserAccountId $userAccountId
30
+     */
28 31
     public function __construct(ClientId $clientId, DataBag $parameters, ?UserAccountId $userAccountId)
29 32
     {
30 33
         $this->clientId = $clientId;
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/OpenIdConnect/UserInfo/UserInfo.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         $this->claimSourceManager = $claimSourceManager;
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $claimsLocales
57
+     */
55 58
     public function getUserinfo(Client $client, UserAccount $userAccount, string $redirectUri, array $requestedClaims, string $scope, ?string $claimsLocales): array
56 59
     {
57 60
         $requestedClaims = \array_merge(
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/AuthorizationEndpoint/UserAccount/UserAccountDiscovery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param bool $isFullyAuthenticated
22
+     * @return null|UserAccount
22 23
      */
23 24
     public function find(?bool &$isFullyAuthenticated = null): ?UserAccount;
24 25
 }
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/AuthorizationEndpoint/Authorization.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -213,6 +213,9 @@  discard block
 block discarded – undo
213 213
         return \array_key_exists($param, $this->getResponseParameters());
214 214
     }
215 215
 
216
+    /**
217
+     * @param string $value
218
+     */
216 219
     public function setResponseHeader(string $responseHeader, $value): void
217 220
     {
218 221
         $this->responseHeaders[$responseHeader] = $value;
@@ -287,6 +290,9 @@  discard block
 block discarded – undo
287 290
         return $this->data[$key];
288 291
     }
289 292
 
293
+    /**
294
+     * @param boolean $data
295
+     */
290 296
     public function setData(string $key, $data): void
291 297
     {
292 298
         $this->data[$key] = $data;
Please login to merge, or discard this patch.