diff --git a/Repository/ServiceEntityRepository.php b/Repository/ServiceEntityRepository.php
index 639634f28..5bab2d8d0 100644
--- a/Repository/ServiceEntityRepository.php
+++ b/Repository/ServiceEntityRepository.php
@@ -14,7 +14,7 @@
*
* class YourEntityRepository extends ServiceEntityRepository
* {
- * public function __construct(RegistryInterface $registry)
+ * public function __construct(Registry $registry)
* {
* parent::__construct($registry, YourEntity::class);
* }
diff --git a/Resources/config/dbal.xml b/Resources/config/dbal.xml
index 917d7df53..72bc68d5c 100644
--- a/Resources/config/dbal.xml
+++ b/Resources/config/dbal.xml
@@ -66,6 +66,7 @@
+
diff --git a/Tests/DependencyInjection/Fixtures/Bundles/RepositoryServiceBundle/Repository/TestCustomServiceRepoRepository.php b/Tests/DependencyInjection/Fixtures/Bundles/RepositoryServiceBundle/Repository/TestCustomServiceRepoRepository.php
index 644017c69..8abc532cc 100644
--- a/Tests/DependencyInjection/Fixtures/Bundles/RepositoryServiceBundle/Repository/TestCustomServiceRepoRepository.php
+++ b/Tests/DependencyInjection/Fixtures/Bundles/RepositoryServiceBundle/Repository/TestCustomServiceRepoRepository.php
@@ -2,13 +2,13 @@
namespace Fixtures\Bundles\RepositoryServiceBundle\Repository;
+use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Fixtures\Bundles\RepositoryServiceBundle\Entity\TestCustomServiceRepoEntity;
-use Symfony\Bridge\Doctrine\RegistryInterface;
class TestCustomServiceRepoRepository extends ServiceEntityRepository
{
- public function __construct(RegistryInterface $registry)
+ public function __construct(Registry $registry)
{
parent::__construct($registry, TestCustomServiceRepoEntity::class);
}