From 5e406952723dc200ccef3056e4d3bf323332885d Mon Sep 17 00:00:00 2001 From: Deni Date: Sat, 19 Mar 2011 01:32:33 +0300 Subject: [PATCH] [Security] Added a type hint. --- .../Component/Security/Http/Event/InteractiveLoginEvent.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php b/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php index 8331bf0f93..1d16cb6def 100644 --- a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php +++ b/src/Symfony/Component/Security/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;