Failed Conditions
Push — master ( c6baf0...a3629e )
by Florent
16:19
created
src/Component/OpenIdConnect/UserInfo/UserInfo.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         $this->claimSourceManager = $claimSourceManager;
53 53
     }
54 54
 
55
+    /**
56
+     * @param string|null $claimsLocales
57
+     */
55 58
     public function getUserinfo(Client $client, UserAccount $userAccount, string $redirectUri, array $requestedClaims, string $scope, ?string $claimsLocales): array
56 59
     {
57 60
         $requestedClaims = \array_merge(
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.
src/Component/ResourceServerAuthentication/AuthenticationMiddleware.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $handler->handle($request);
52 52
     }
53 53
 
54
+    /**
55
+     * @param ResourceServer|null $resourceServer
56
+     */
54 57
     private function checkResourceServer(?ResourceServer $resourceServer): void
55 58
     {
56 59
         if (null === $resourceServer) {
Please login to merge, or discard this patch.
src/Component/Scope/Scope.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 {
18 18
     public function name(): string;
19 19
 
20
+    /**
21
+     * @return string|null
22
+     */
20 23
     public function parent(): ?string;
21 24
 
22 25
     public function isParentMandatory(): bool;
Please login to merge, or discard this patch.
src/Component/TokenEndpoint/TokenEndpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
     private $accessTokenRepository;
43 43
     private $accessTokenLifetime;
44 44
 
45
+    /**
46
+     * @param UserAccountRepository $userAccountRepository
47
+     */
45 48
     public function __construct(ClientRepository $clientRepository, ?UserAccountRepository $userAccountRepository, TokenEndpointExtensionManager $tokenEndpointExtensionManager, ResponseFactory $responseFactory, AccessTokenIdGenerator $accessTokenIdGenerator, AccessTokenRepository $accessTokenRepository, int $accessLifetime)
46 49
     {
47 50
         $this->clientRepository = $clientRepository;
Please login to merge, or discard this patch.
src/Component/TokenIntrospectionEndpoint/TokenTypeHint.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
     public function hint(): string;
21 21
 
22
+    /**
23
+     * @return \OAuth2Framework\Component\Core\AccessToken\AccessToken|null
24
+     */
22 25
     public function find(string $token): ?Token;
23 26
 
24 27
     public function introspect(Token $token): array;
Please login to merge, or discard this patch.
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);
25 31
 }
Please login to merge, or discard this patch.
src/SecurityBundle/Annotation/Checker/Checker.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @throws \Exception
23
+     * @return void
23 24
      */
24 25
     public function check(OAuth2Token $token, OAuth2 $configuration): void;
25 26
 }
Please login to merge, or discard this patch.
src/ServerBundle/Component/Component.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,12 +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
 
27 33
     /**
28
-     * @param NodeDefinition $node
34
+     * @param ArrayNodeDefinition $node
35
+     * @return void
29 36
      */
30 37
     public function getNodeDefinition(ArrayNodeDefinition $node, ArrayNodeDefinition $rootNode);
31 38
 
Please login to merge, or discard this patch.