Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Provider/DoctrineOrmSequenceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Indragunawan\SequenceBundle\Provider;

use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\DBAL\LockMode;
use Doctrine\ORM\EntityManager;
use Indragunawan\SequenceBundle\Model\SequenceInterface;
Expand All @@ -27,7 +27,7 @@ final class DoctrineOrmSequenceProvider implements SequenceProviderInterface
private $entityClass;
private $managerName;

public function __construct(ManagerRegistry $registry, string $entityClass, ?string $managerName = null)
public function __construct(Registry $registry, string $entityClass, ?string $managerName = null)
{
$this->registry = $registry;
$this->entityClass = $entityClass;
Expand Down