Failed Conditions
Push — master ( aacec5...b5a0b4 )
by Florent
04:50
created
src/Component/AuthorizationCodeGrant/AuthorizationCode.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 {
23 23
     public function isUsed(): bool;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function markAsUsed(): void;
26 29
 
27 30
     public function getQueryParameters(): array;
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
 
49 52
     public function getMetadata(): DataBag;
50 53
 
54
+    /**
55
+     * @return ResourceServerId|null
56
+     */
51 57
     public function getResourceServerId(): ?ResourceServerId;
52 58
 
53 59
     public function getExpiresIn(): int;
Please login to merge, or discard this patch.
src/Component/ClientRegistrationEndpoint/InitialAccessToken.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,13 +19,22 @@
 block discarded – undo
19 19
 {
20 20
     public function getId(): InitialAccessTokenId;
21 21
 
22
+    /**
23
+     * @return UserAccountId|null
24
+     */
22 25
     public function getUserAccountId(): ?UserAccountId;
23 26
 
27
+    /**
28
+     * @return \DateTimeImmutable|null
29
+     */
24 30
     public function getExpiresAt(): ?\DateTimeImmutable;
25 31
 
26 32
     public function hasExpired(): bool;
27 33
 
28 34
     public function isRevoked(): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function markAsRevoked(): void;
31 40
 }
Please login to merge, or discard this patch.
src/Component/Core/AccessToken/AccessToken.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -38,8 +38,14 @@
 block discarded – undo
38 38
 
39 39
     public function isRevoked(): bool;
40 40
 
41
+    /**
42
+     * @return void
43
+     */
41 44
     public function markAsRevoked(): void;
42 45
 
46
+    /**
47
+     * @return ResourceServerId|null
48
+     */
43 49
     public function getResourceServerId(): ?ResourceServerId;
44 50
 
45 51
     public function getResponseData(): array;
Please login to merge, or discard this patch.
src/Component/OpenIdConnect/UserInfo/UserInfo.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@
 block discarded – undo
52 52
         $this->claimSourceManager = $claimSourceManager;
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $scope
57
+     * @param string $claimsLocales
58
+     */
55 59
     public function getUserinfo(Client $client, UserAccount $userAccount, string $redirectUri, array $requestedClaims, ?string $scope, ?string $claimsLocales): array
56 60
     {
57 61
         $requestedClaims = \array_merge(
Please login to merge, or discard this patch.
src/Component/RefreshTokenGrant/RefreshToken.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 
22 22
 interface RefreshToken extends \JsonSerializable
23 23
 {
24
+    /**
25
+     * @return void
26
+     */
24 27
     public function addAccessToken(AccessTokenId $accessTokenId): void;
25 28
 
26 29
     /**
@@ -48,7 +51,13 @@  discard block
 block discarded – undo
48 51
 
49 52
     public function isRevoked(): bool;
50 53
 
54
+    /**
55
+     * @return void
56
+     */
51 57
     public function markAsRevoked(): void;
52 58
 
59
+    /**
60
+     * @return ResourceServerId|null
61
+     */
53 62
     public function getResourceServerId(): ?ResourceServerId;
54 63
 }
Please login to merge, or discard this patch.
src/Component/TokenRevocationEndpoint/TokenTypeHint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function find(string $token);
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function revoke($token): void;
26 29
 }
Please login to merge, or discard this patch.