File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function connect(array $params): ConnectionInterface
36
36
{
37
37
$ connection = parent ::connect ($ params );
38
38
39
- if ('void ' !== (string ) (new \ReflectionMethod (DriverInterface \Connection ::class, 'commit ' ))->getReturnType ()) {
39
+ if ('void ' !== (string ) (new \ReflectionMethod (ConnectionInterface ::class, 'commit ' ))->getReturnType ()) {
40
40
return new DBAL3 \Connection (
41
41
$ connection ,
42
42
$ this ->debugDataHolder ,
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ private function createCollector(array $queries): DoctrineDataCollector
246
246
->getMock ();
247
247
$ connection ->expects ($ this ->any ())
248
248
->method ('getDatabasePlatform ' )
249
- ->willReturn (new MySqlPlatform ());
249
+ ->willReturn (new MySQLPlatform ());
250
250
251
251
$ registry = $ this ->createMock (ManagerRegistry::class);
252
252
$ registry
You can’t perform that action at this time.
0 commit comments