diff --git a/Classes/Test/DoctrineTest.php b/Classes/Test/DoctrineTest.php index def33b8..0b3078f 100644 --- a/Classes/Test/DoctrineTest.php +++ b/Classes/Test/DoctrineTest.php @@ -14,17 +14,16 @@ * source code. */ -use Doctrine\Common\Persistence\ObjectManager as DoctrineObjectManager; -use Doctrine\ORM\EntityManager as DoctrineEntityManager; +use Doctrine\ORM\EntityManagerInterface; class DoctrineTest extends AbstractTest { /** - * @var DoctrineEntityManager + * @var EntityManagerInterface */ private $entityManager; - public function injectEntityManager(DoctrineObjectManager $entityManager): void + public function injectEntityManager(EntityManagerInterface $entityManager): void { $this->entityManager = $entityManager; }