Failed Conditions
Push — master ( c6baf0...a3629e )
by Florent
16:19
created
src/Component/AuthorizationCodeGrant/AuthorizationCodeRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,5 +26,8 @@
 block discarded – undo
26 26
      */
27 27
     public function find(AuthorizationCodeId $authorizationCodeId): ?AuthorizationCode;
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function save(AuthorizationCode $authorizationCode): void;
30 33
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Authorization.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -267,6 +267,7 @@  discard block
 block discarded – undo
267 267
     }
268 268
 
269 269
     /**
270
+     * @param string $value
270 271
      * @return Authorization
271 272
      */
272 273
     public function withResponseHeader(string $responseHeader, $value): self
@@ -356,6 +357,7 @@  discard block
 block discarded – undo
356 357
     }
357 358
 
358 359
     /**
360
+     * @param boolean $data
359 361
      * @return Authorization
360 362
      */
361 363
     public function withData(string $key, $data): self
Please login to merge, or discard this patch.
src/Component/ClientAuthentication/ClientAuthenticationMiddleware.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $handler->handle($request);
56 56
     }
57 57
 
58
+    /**
59
+     * @param null|Client $client
60
+     */
58 61
     private function checkClient(?Client $client): void
59 62
     {
60 63
         if (null === $client || $client->isDeleted()) {
Please login to merge, or discard this patch.
src/Component/ClientRegistrationEndpoint/InitialAccessTokenRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 
16 16
 interface InitialAccessTokenRepository
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function save(InitialAccessToken $initialAccessToken);
19 22
 
20 23
     /**
Please login to merge, or discard this patch.
src/Component/Core/Client/ClientRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * Save the client.
20
+     * @return void
20 21
      */
21 22
     public function save(Client $client);
22 23
 
Please login to merge, or discard this patch.
src/Component/Core/UserAccount/UserAccount.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,8 +17,14 @@
 block discarded – undo
17 17
 
18 18
 interface UserAccount extends ResourceOwner
19 19
 {
20
+    /**
21
+     * @return integer|null
22
+     */
20 23
     public function getLastLoginAt(): ?int;
21 24
 
25
+    /**
26
+     * @return integer|null
27
+     */
22 28
     public function getLastUpdateAt(): ?int;
23 29
 
24 30
     public function getUserAccountId(): UserAccountId;
Please login to merge, or discard this patch.
src/Component/Core/UserAccount/UserAccountRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
      * Get the user account with the specified User Account Name.
20 20
      *
21 21
      * @param string $username User Account Name
22
+     * @return string
22 23
      */
23 24
     public function findOneByUsername(string $username): ?UserAccount;
24 25
 
Please login to merge, or discard this patch.
src/Component/IssuerDiscoveryEndpoint/ResourceRepository.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 ResourceRepository
17 17
 {
18
+    /**
19
+     * @return ResourceObject|null
20
+     */
18 21
     public function find(ResourceId $resourceId): ?ResourceObject;
19 22
 }
Please login to merge, or discard this patch.
src/Component/JwtBearerGrant/JwtBearerGrantType.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -97,6 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * JWTBearerGrantType constructor.
100
+     * @param UserAccountRepository $userAccountRepository
100 101
      */
101 102
     public function __construct(JsonConverter $jsonConverter, JWSVerifier $jwsVerifier, HeaderCheckerManager $headerCheckerManager, ClaimCheckerManager $claimCheckerManager, ClientRepository $clientRepository, ?UserAccountRepository $userAccountRepository)
102 103
     {
@@ -273,6 +274,9 @@  discard block
 block discarded – undo
273 274
         return $grantTypeData;
274 275
     }
275 276
 
277
+    /**
278
+     * @return ResourceOwnerId
279
+     */
276 280
     private function findResourceOwner(string $subject): ?ResourceOwnerId
277 281
     {
278 282
         $userAccount = $this->userAccountRepository ? $this->userAccountRepository->find(new UserAccountId($subject)) : null;
Please login to merge, or discard this patch.