Skip to content

Commit 48861aa

Browse files
authored
Merge pull request #629 from martingtheodo/issue-871
Issue 871: fix entityManager type
2 parents 067347f + 0873945 commit 48861aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ namespace App\EventListener;
965965
966966
use Symfony\Component\Security\Core\User\UserInterface;
967967
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
968-
use Doctrine\Common\Persistence\ObjectManager;
968+
use Doctrine\Orm\EntityManagerInterface;
969969
use Doctrine\Common\Annotations\Reader;
970970
971971
final class UserFilterConfigurator
@@ -974,7 +974,7 @@ final class UserFilterConfigurator
974974
private $tokenStorage;
975975
private $reader;
976976
977-
public function __construct(ObjectManager $em, TokenStorageInterface $tokenStorage, Reader $reader)
977+
public function __construct(EntityManagerInterface $em, TokenStorageInterface $tokenStorage, Reader $reader)
978978
{
979979
$this->em = $em;
980980
$this->tokenStorage = $tokenStorage;

0 commit comments

Comments
 (0)