Failed Conditions
Push — master ( 1bae70...6a9de1 )
by Florent
40:14
created
src/Component/TokenRevocationEndpoint/TokenTypeHint.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
     public function hint(): string;
21 21
 
22
+    /**
23
+     * @return Token
24
+     */
22 25
     public function find(string $token): ?Token;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function revoke(Token $token): void;
25 31
 }
Please login to merge, or discard this patch.
src/Component/ClientRegistrationEndpoint/InitialAccessToken.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@
 block discarded – undo
23 23
     private $expiresAt;
24 24
     private $userAccountId;
25 25
 
26
+    /**
27
+     * @param UserAccountId $userAccountId
28
+     * @param \DateTimeImmutable|null $expiresAt
29
+     */
26 30
     public function __construct(InitialAccessTokenId $initialAccessTokenId, ?UserAccountId $userAccountId, ?\DateTimeImmutable $expiresAt)
27 31
     {
28 32
         $this->initialAccessTokenId = $initialAccessTokenId;
Please login to merge, or discard this patch.
src/Component/TokenEndpoint/GrantType.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * This function checks the request.
34
+     * @return void
34 35
      */
35 36
     public function checkRequest(ServerRequestInterface $request): void;
36 37
 
Please login to merge, or discard this patch.
src/SecurityBundle/Annotation/Checker/Checker.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 
19 19
 interface Checker
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function check(OAuth2Token $token, OAuth2 $configuration): void;
22 25
 }
Please login to merge, or discard this patch.
AuthorizationEndpoint/AuthorizationRequest/AuthorizationRequest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -209,6 +209,9 @@  discard block
 block discarded – undo
209 209
         return \array_key_exists($param, $this->getResponseParameters());
210 210
     }
211 211
 
212
+    /**
213
+     * @param string $value
214
+     */
212 215
     public function setResponseHeader(string $responseHeader, $value): void
213 216
     {
214 217
         $this->responseHeaders[$responseHeader] = $value;
@@ -274,6 +277,9 @@  discard block
 block discarded – undo
274 277
         $this->resourceServer = $resourceServer;
275 278
     }
276 279
 
280
+    /**
281
+     * @param string $value
282
+     */
277 283
     public function setConsentScreenOption(string $option, $value): void
278 284
     {
279 285
         $this->consentScreenOptions[$option] = $value;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/ConsentHandler.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
 interface ConsentHandler
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void;
23 26
 
24 27
     public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/Extension/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 
19 19
 interface Extension
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function process(ServerRequestInterface $request, AuthorizationRequest $authorization): void;
22 25
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/LoginHandler.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
 interface LoginHandler
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void;
23 26
 
24 27
     public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/ParameterChecker/ParameterChecker.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 ParameterChecker
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function check(AuthorizationRequest $authorization): void;
21 24
 }
Please login to merge, or discard this patch.