diff options
Diffstat (limited to 'Http/Authorization/AccessDeniedHandlerInterface.php')
-rw-r--r-- | Http/Authorization/AccessDeniedHandlerInterface.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Authorization/AccessDeniedHandlerInterface.php b/Http/Authorization/AccessDeniedHandlerInterface.php index 7a1bcf4..b2fb9ee 100644 --- a/Http/Authorization/AccessDeniedHandlerInterface.php +++ b/Http/Authorization/AccessDeniedHandlerInterface.php @@ -3,7 +3,7 @@ namespace Symfony\Component\Security\Http\Authorization; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\EventDispatcher\EventInterface; +use Symfony\Component\HttpKernel\Event\ExceptionEventArgs; use Symfony\Component\Security\Core\Exception\AccessDeniedException; /** @@ -17,11 +17,11 @@ interface AccessDeniedHandlerInterface /** * Handles an access denied failure. * - * @param EventInterface $event + * @param ExceptionEventArgs $eventArgs * @param Request $request * @param AccessDeniedException $accessDeniedException * * @return Response may return null */ - function handle(EventInterface $event, Request $request, AccessDeniedException $accessDeniedException); + function handle(ExceptionEventArgs $eventArgs, Request $request, AccessDeniedException $accessDeniedException); }
\ No newline at end of file |