Failed Conditions
Branch ng (7370de)
by Florent
15:26
created
AuthorizationEndpoint/Command/CreatePreConfiguredAuthorizationCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @return array
105
+     * @return string[]
106 106
      */
107 107
     public function getScopes(): array
108 108
     {
Please login to merge, or discard this patch.
AuthorizationEndpoint/Command/RevokePreConfiguredAuthorizationCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @return array
91
+     * @return string[]
92 92
      */
93 93
     public function getScopes(): array
94 94
     {
Please login to merge, or discard this patch.
ParameterChecker/ResponseTypeAndResponseModeParameterChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param array  $types
106
+     * @param ResponseType[]  $types
107 107
      * @param string $responseType
108 108
      *
109 109
      * @return string
Please login to merge, or discard this patch.
Server/AuthorizationEndpoint/ParameterChecker/ScopeParameterChecker.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 namespace OAuth2Framework\Component\Server\AuthorizationEndpoint\ParameterChecker;
15 15
 
16 16
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\Authorization;
17
+use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
17 18
 use OAuth2Framework\Component\Server\Core\Scope\ScopePolicyManager;
18 19
 use OAuth2Framework\Component\Server\Core\Scope\ScopeRepository;
19
-use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
20 20
 
21 21
 final class ScopeParameterChecker implements ParameterChecker
22 22
 {
Please login to merge, or discard this patch.
src/Component/Server/Core/AccessToken/AccessToken.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
 use OAuth2Framework\Component\Server\Core\AccessToken\Event as AccessTokenEvent;
17 17
 use OAuth2Framework\Component\Server\Core\Client\ClientId;
18 18
 use OAuth2Framework\Component\Server\Core\DataBag\DataBag;
19
+use OAuth2Framework\Component\Server\Core\DomainObject;
19 20
 use OAuth2Framework\Component\Server\Core\Event\Event;
20 21
 use OAuth2Framework\Component\Server\Core\ResourceOwner\ResourceOwnerId;
21 22
 use OAuth2Framework\Component\Server\Core\ResourceServer\ResourceServerId;
22 23
 use OAuth2Framework\Component\Server\Core\Token\Token;
23 24
 use OAuth2Framework\Component\Server\Core\Token\TokenId;
24
-use OAuth2Framework\Component\Server\Core\DomainObject;
25 25
 
26 26
 final class AccessToken extends Token
27 27
 {
Please login to merge, or discard this patch.
src/Component/Server/Core/AccessToken/Command/CreateAccessTokenCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @return array
138
+     * @return string[]
139 139
      */
140 140
     public function getScopes(): array
141 141
     {
Please login to merge, or discard this patch.
src/Component/Server/Core/Client/Rule/Rule.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * @param ClientId           $clientId
23 23
      * @param DataBag            $commandParameters
24 24
      * @param DataBag            $validatedParameters
25
-     * @param UserAccountId|null $userAccountId
26 25
      * @param callable           $next
27 26
      *
28 27
      * @return DataBag
Please login to merge, or discard this patch.
src/Component/Server/ImplicitGrant/ImplicitGrantType.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 namespace OAuth2Framework\Component\Server\ImplicitGrant;
15 15
 
16
-use OAuth2Framework\Component\Server\AuthorizationEndpoint\ResponseType;
17 16
 use OAuth2Framework\Component\Server\AuthorizationEndpoint\Authorization;
18
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
19
-use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
17
+use OAuth2Framework\Component\Server\AuthorizationEndpoint\ResponseType;
20 18
 use OAuth2Framework\Component\Server\Core\AccessToken\AccessTokenRepository;
21 19
 use OAuth2Framework\Component\Server\Core\DataBag\DataBag;
22 20
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
21
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantType;
22
+use OAuth2Framework\Component\Server\TokenEndpoint\GrantTypeData;
23 23
 use Psr\Http\Message\ServerRequestInterface;
24 24
 
25 25
 final class ImplicitGrantType implements ResponseType, GrantType
Please login to merge, or discard this patch.
src/Component/Server/IssuerDiscoveryEndpoint/IssuerDiscoveryEndpoint.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * @param ResourceId $resourceName
102
-     * @param resource   $resource
102
+     * @param Resource   $resource
103 103
      *
104 104
      * @return array
105 105
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use Interop\Http\Factory\ResponseFactoryInterface;
17 17
 use Interop\Http\Factory\UriFactoryInterface;
18
-use Interop\Http\Server\RequestHandlerInterface;
19 18
 use Interop\Http\Server\MiddlewareInterface;
19
+use Interop\Http\Server\RequestHandlerInterface;
20 20
 use OAuth2Framework\Component\Server\Core\Response\OAuth2Exception;
21 21
 use Psr\Http\Message\ResponseInterface;
22 22
 use Psr\Http\Message\ServerRequestInterface;
Please login to merge, or discard this patch.