summaryrefslogtreecommitdiffstats
path: root/Http/Event/SwitchUserEventArgs.php
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Event/SwitchUserEventArgs.php')
-rw-r--r--Http/Event/SwitchUserEventArgs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Event/SwitchUserEventArgs.php b/Http/Event/SwitchUserEventArgs.php
index be38036..c88a500 100644
--- a/Http/Event/SwitchUserEventArgs.php
+++ b/Http/Event/SwitchUserEventArgs.php
@@ -12,7 +12,7 @@
namespace Symfony\Component\Security\Http\Event;
use Symfony\Component\HttpFoundation\Request;
-use Symfony\Component\Security\Core\User\AccountInterface;
+use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\Common\EventArgs;
class SwitchUserEventArgs extends EventArgs
@@ -21,7 +21,7 @@ class SwitchUserEventArgs extends EventArgs
private $targetUser;
- public function __construct(Request $request, AccountInterface $targetUser)
+ public function __construct(Request $request, UserInterface $targetUser)
{
$this->request = $request;
$this->targetUser = $targetUser;