Failed Conditions
Push — master ( 323120...a399af )
by Florent
05:26
created
Component/Core/UserAccount/AuthenticationContextClassReferenceSupport.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 AuthenticationContextClassReferenceSupport extends UserAccountManager
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function getAuthenticationContextClassReferenceFor(UserAccount $user): ?string;
19 22
 }
Please login to merge, or discard this patch.
src/Component/Core/AccessToken/AccessTokenRepository.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
     /**
26 26
      * @param AccessToken $accessToken The access token to store
27
+     * @return void
27 28
      */
28 29
     public function save(AccessToken $accessToken): void;
29 30
 }
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/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.
src/Component/RefreshTokenGrant/RefreshTokenRepository.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
 interface RefreshTokenRepository
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function save(RefreshToken $refreshToken): void;
23 26
 
27
+    /**
28
+     * @return RefreshToken|null
29
+     */
24 30
     public function find(RefreshTokenId $refreshTokenId): ?RefreshToken;
25 31
 }
Please login to merge, or discard this patch.