Skip to content

Commit e77a699

Browse files
bronze1manfabpot
authored andcommitted
Fix some annotates
1 parent d1d59af commit e77a699

7 files changed

+7
-0
lines changed

Authentication/AuthenticationFailureHandlerInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1515
use Symfony\Component\HttpFoundation\Request;
16+
use Symfony\Component\HttpFoundation\Response;
1617

1718
/**
1819
* Interface for custom authentication failure handlers.

Authentication/AuthenticationSuccessHandlerInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1515
use Symfony\Component\HttpFoundation\Request;
16+
use Symfony\Component\HttpFoundation\Response;
1617

1718
/**
1819
* Interface for a custom authentication success handler

Authorization/AccessDeniedHandlerInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\HttpFoundation\Request;
1515
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
16+
use Symfony\Component\HttpFoundation\Response;
1617

1718
/**
1819
* This is used by the ExceptionListener to translate an AccessDeniedException

EntryPoint/AuthenticationEntryPointInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\Security\Core\Exception\AuthenticationException;
1515
use Symfony\Component\HttpFoundation\Request;
16+
use Symfony\Component\HttpFoundation\Response;
1617

1718
/**
1819
* AuthenticationEntryPointInterface is the interface used to start the

Firewall/LogoutListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Symfony\Component\Security\Http\HttpUtils;
2121
use Symfony\Component\Security\Http\Logout\LogoutHandlerInterface;
2222
use Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface;
23+
use Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException;
2324

2425
/**
2526
* LogoutListener logout users.

HttpUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
2121
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
2222
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
23+
use Symfony\Component\HttpFoundation\Response;
2324

2425
/**
2526
* Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs.

Logout/LogoutSuccessHandlerInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Security\Http\Logout;
1313

1414
use Symfony\Component\HttpFoundation\Request;
15+
use Symfony\Component\HttpFoundation\Response;
1516

1617
/**
1718
* LogoutSuccesshandlerInterface.

0 commit comments

Comments
 (0)