File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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
3636 {
3737 $ connection = parent ::connect ($ params );
3838
39- if ('void ' !== (string ) (new \ReflectionMethod (DriverInterface \Connection ::class, 'commit ' ))->getReturnType ()) {
39+ if ('void ' !== (string ) (new \ReflectionMethod (ConnectionInterface ::class, 'commit ' ))->getReturnType ()) {
4040 return new DBAL3 \Connection (
4141 $ connection ,
4242 $ this ->debugDataHolder ,
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ private function createCollector(array $queries): DoctrineDataCollector
246246 ->getMock ();
247247 $ connection ->expects ($ this ->any ())
248248 ->method ('getDatabasePlatform ' )
249- ->willReturn (new MySqlPlatform ());
249+ ->willReturn (new MySQLPlatform ());
250250
251251 $ registry = $ this ->createMock (ManagerRegistry::class);
252252 $ registry
You can’t perform that action at this time.
0 commit comments