Skip to content

Commit 26a87a7

Browse files
authored
Change type hint from Registry to ManagerRegistry in ProfilerController (#1764)
1 parent 4e83544 commit 26a87a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Controller/ProfilerController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace Doctrine\Bundle\DoctrineBundle\Controller;
44

5-
use Doctrine\Bundle\DoctrineBundle\Registry;
65
use Doctrine\DBAL\Connection;
76
use Doctrine\DBAL\Platforms\OraclePlatform;
87
use Doctrine\DBAL\Platforms\SQLitePlatform;
98
use Doctrine\DBAL\Platforms\SQLServerPlatform;
9+
use Doctrine\Persistence\ConnectionRegistry;
1010
use Exception;
1111
use Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector;
1212
use Symfony\Component\HttpFoundation\Response;
@@ -21,10 +21,10 @@
2121
class ProfilerController
2222
{
2323
private Environment $twig;
24-
private Registry $registry;
24+
private ConnectionRegistry $registry;
2525
private Profiler $profiler;
2626

27-
public function __construct(Environment $twig, Registry $registry, Profiler $profiler)
27+
public function __construct(Environment $twig, ConnectionRegistry $registry, Profiler $profiler)
2828
{
2929
$this->twig = $twig;
3030
$this->registry = $registry;

0 commit comments

Comments
 (0)