From 0873945303a5a77f26ed082a0e87476f0cc88b66 Mon Sep 17 00:00:00 2001 From: martingtheodo Date: Tue, 23 Oct 2018 11:13:46 +0200 Subject: [PATCH] Issue 871: fix entityManager type --- core/filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/filters.md b/core/filters.md index e3e9ddeb224..4fcdab29927 100644 --- a/core/filters.md +++ b/core/filters.md @@ -965,7 +965,7 @@ namespace App\EventListener; use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Orm\EntityManagerInterface; use Doctrine\Common\Annotations\Reader; final class UserFilterConfigurator @@ -974,7 +974,7 @@ final class UserFilterConfigurator private $tokenStorage; private $reader; - public function __construct(ObjectManager $em, TokenStorageInterface $tokenStorage, Reader $reader) + public function __construct(EntityManagerInterface $em, TokenStorageInterface $tokenStorage, Reader $reader) { $this->em = $em; $this->tokenStorage = $tokenStorage;