File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Doctrine \Bundle \DoctrineBundle \Controller ;
4
4
5
- use Doctrine \Bundle \DoctrineBundle \Registry ;
6
5
use Doctrine \DBAL \Connection ;
7
6
use Doctrine \DBAL \Platforms \OraclePlatform ;
8
7
use Doctrine \DBAL \Platforms \SQLitePlatform ;
9
8
use Doctrine \DBAL \Platforms \SQLServerPlatform ;
9
+ use Doctrine \Persistence \ConnectionRegistry ;
10
10
use Exception ;
11
11
use Symfony \Bridge \Doctrine \DataCollector \DoctrineDataCollector ;
12
12
use Symfony \Component \HttpFoundation \Response ;
21
21
class ProfilerController
22
22
{
23
23
private Environment $ twig ;
24
- private Registry $ registry ;
24
+ private ConnectionRegistry $ registry ;
25
25
private Profiler $ profiler ;
26
26
27
- public function __construct (Environment $ twig , Registry $ registry , Profiler $ profiler )
27
+ public function __construct (Environment $ twig , ConnectionRegistry $ registry , Profiler $ profiler )
28
28
{
29
29
$ this ->twig = $ twig ;
30
30
$ this ->registry = $ registry ;
You can’t perform that action at this time.
0 commit comments