Skip to content

Commit

Permalink
Use correct EntityManagerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
johannessteu authored Jan 6, 2020
1 parent b019d7d commit 7fdb030
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Classes/Test/DoctrineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7fdb030

Please sign in to comment.