summaryrefslogtreecommitdiffstats
path: root/Http/Event
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Event')
-rw-r--r--Http/Event/InteractiveLoginEvent.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Http/Event/InteractiveLoginEvent.php b/Http/Event/InteractiveLoginEvent.php
index 8331bf0..1d16cb6 100644
--- a/Http/Event/InteractiveLoginEvent.php
+++ b/Http/Event/InteractiveLoginEvent.php
@@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\Event;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\EventDispatcher\Event;
+use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
class InteractiveLoginEvent extends Event
{
@@ -20,7 +21,7 @@ class InteractiveLoginEvent extends Event
private $authenticationToken;
- public function __construct(Request $request, $authenticationToken)
+ public function __construct(Request $request, TokenInterface $authenticationToken)
{
$this->request = $request;
$this->authenticationToken = $authenticationToken;