Skip to content

Commit 47ffdbb

Browse files
keradusnicolas-grekas
authored andcommitted
chore: PHP CS Fixer fixes
1 parent bfa5878 commit 47ffdbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Middleware/Debug/Driver.php

+1-1
Original file line numberDiff line numberDiff 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,

Tests/DataCollector/DoctrineDataCollectorTest.php

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)