Failed Conditions
Push — master ( 3df084...2d5f15 )
by Florent
06:05
created
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.
src/Component/AuthorizationEndpoint/ResponseType/ResponseType.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -41,7 +41,13 @@
 block discarded – undo
41 41
      */
42 42
     public function getResponseMode(): string;
43 43
 
44
+    /**
45
+     * @return void
46
+     */
44 47
     public function preProcess(AuthorizationRequest $authorization): void;
45 48
 
49
+    /**
50
+     * @return void
51
+     */
46 52
     public function process(AuthorizationRequest $authorization): void;
47 53
 }
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/SelectAccountHandler.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 SelectAccountHandler
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/Core/UserAccount/UserAccountRepository.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 UserAccountRepository
17 17
 {
18
+    /**
19
+     * @return \OAuth2Framework\ServerBundle\Tests\TestBundle\Entity\UserAccount|null
20
+     */
18 21
     public function find(UserAccountId $publicId): ?UserAccount;
19 22
 }
Please login to merge, or discard this patch.
ResourceOwnerPasswordCredentialManager.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 ResourceOwnerPasswordCredentialManager
19 19
 {
20
+    /**
21
+     * @return null|ResourceOwnerId
22
+     */
20 23
     public function findResourceOwnerIdWithUsernameAndPassword(string $username, string $password): ?ResourceOwnerId;
21 24
 }
Please login to merge, or discard this patch.
src/ServerBundle/Component/Component.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -20,10 +20,19 @@
 block discarded – undo
20 20
 {
21 21
     public function name(): string;
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function load(array $configs, ContainerBuilder $container);
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function build(ContainerBuilder $container);
26 32
 
33
+    /**
34
+     * @return void
35
+     */
27 36
     public function getNodeDefinition(ArrayNodeDefinition $node, ArrayNodeDefinition $rootNode);
28 37
 
29 38
     public function prepend(ContainerBuilder $container, array $config): array;
Please login to merge, or discard this patch.
src/Component/AuthorizationEndpoint/User/UserAccountDiscovery.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 UserAccountDiscovery
19 19
 {
20
+    /**
21
+     * @return UserAccount
22
+     */
20 23
     public function getCurrentAccount(): ?UserAccount;
21 24
 }
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
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param AccessToken $accessToken The access token to store
32
+     * @return void
32 33
      */
33 34
     public function save(AccessToken $accessToken): void;
34 35
 
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
     {
@@ -246,6 +247,9 @@  discard block
 block discarded – undo
246 247
         $grantTypeData->getMetadata()->set('claims', $claims);
247 248
     }
248 249
 
250
+    /**
251
+     * @return ResourceOwnerId
252
+     */
249 253
     private function findResourceOwner(string $subject): ?ResourceOwnerId
250 254
     {
251 255
         $userAccount = $this->userAccountRepository ? $this->userAccountRepository->find(new UserAccountId($subject)) : null;
Please login to merge, or discard this patch.