Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 0ffd8b1

Browse files
author
Fabien Pennequin
committed
Update for latest changes in Security component of Symfony2.1
1 parent dcb8b73 commit 0ffd8b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Security/Encoder/EncoderFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
1515
use Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface;
16-
use Symfony\Component\Security\Core\User\UserInterface;
1716

1817
/**
1918
* @author Christophe Coevoet <stof@notk.org>
@@ -35,7 +34,7 @@ public function __construct(EncoderFactoryInterface $genericFactory, array $enco
3534
$this->encoders = $encoders;
3635
}
3736

38-
public function getEncoder(UserInterface $user)
37+
public function getEncoder($user)
3938
{
4039
if (!$user instanceof EncoderAwareInterface) {
4140
return $this->genericFactory->getEncoder($user);

0 commit comments

Comments
 (0)