Explorar o código

Merge branch 'interactive-login-event' of git://github.com/yethee/symfony into security

Johannes M. Schmitt %!s(int64=14) %!d(string=hai) anos
pai
achega
ede59926a4

+ 2 - 1
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;