@@ -34,7 +34,6 @@ |
||
34 | 34 | /** |
35 | 35 | * RequestEvent constructor. |
36 | 36 | * |
37 | - * @param string $name |
|
38 | 37 | * @param ServerRequestInterface $request |
39 | 38 | */ |
40 | 39 | public function __construct(ServerRequestInterface $request) |
@@ -14,10 +14,10 @@ |
||
14 | 14 | use Exception; |
15 | 15 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
16 | 16 | use League\OAuth2\Server\Entities\UserEntityInterface; |
17 | +use League\OAuth2\Server\Event\RequestEvent; |
|
17 | 18 | use League\OAuth2\Server\Exception\OAuthServerException; |
18 | 19 | use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; |
19 | 20 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
20 | -use League\OAuth2\Server\Event\RequestEvent; |
|
21 | 21 | use League\OAuth2\Server\RequestTypes\AuthorizationRequest; |
22 | 22 | use League\OAuth2\Server\ResponseTypes\RedirectResponse; |
23 | 23 | use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; |
@@ -14,10 +14,10 @@ |
||
14 | 14 | use DateInterval; |
15 | 15 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
16 | 16 | use League\OAuth2\Server\Entities\UserEntityInterface; |
17 | +use League\OAuth2\Server\Event\RequestEvent; |
|
17 | 18 | use League\OAuth2\Server\Exception\OAuthServerException; |
18 | 19 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
19 | 20 | use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
20 | -use League\OAuth2\Server\Event\RequestEvent; |
|
21 | 21 | use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; |
22 | 22 | use Psr\Http\Message\ServerRequestInterface; |
23 | 23 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Get the Emitter. |
32 | 32 | * |
33 | - * @return EmitterInterface |
|
33 | + * @return null|EventDispatcherInterface |
|
34 | 34 | */ |
35 | 35 | public function getEventDispatcher() |
36 | 36 | { |