summaryrefslogtreecommitdiffstats
path: root/Http/Event
diff options
context:
space:
mode:
authorDeni <liquid.yethee@hotmail.com>2011-03-19 01:32:33 +0300
committerDeni <liquid.yethee@hotmail.com>2011-03-19 01:32:33 +0300
commit1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12 (patch)
treeb0c4c3bd839edb7e19455295cef3d6d359d022c2 /Http/Event
parent661080cedd54d5e790fcca4447e2cd91a7fe9c83 (diff)
downloadsymfony-security-1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12.zip
symfony-security-1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12.tar.gz
symfony-security-1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12.tar.bz2
[Security] Added a type hint.
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;