Skip to content

Commit

Permalink
Change type hint from Registry to ManagerRegistry in `ProfilerCon…
Browse files Browse the repository at this point in the history
…troller` (#1764)
  • Loading branch information
priyadi authored Mar 7, 2024
1 parent 4e83544 commit 26a87a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Controller/ProfilerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Doctrine\Bundle\DoctrineBundle\Controller;

use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\OraclePlatform;
use Doctrine\DBAL\Platforms\SQLitePlatform;
use Doctrine\DBAL\Platforms\SQLServerPlatform;
use Doctrine\Persistence\ConnectionRegistry;
use Exception;
use Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector;
use Symfony\Component\HttpFoundation\Response;
Expand All @@ -21,10 +21,10 @@
class ProfilerController
{
private Environment $twig;
private Registry $registry;
private ConnectionRegistry $registry;
private Profiler $profiler;

public function __construct(Environment $twig, Registry $registry, Profiler $profiler)
public function __construct(Environment $twig, ConnectionRegistry $registry, Profiler $profiler)
{
$this->twig = $twig;
$this->registry = $registry;
Expand Down

0 comments on commit 26a87a7

Please sign in to comment.