Skip to content

Commit

Permalink
Provide full name in database platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kreemer committed Dec 6, 2023
1 parent 03f7ffc commit a8fdeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Info/Collector/Doctrine.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function collect(): Info
if (null === $platform) { // @phpstan-ignore-line
$type = 'Unknown';
} else {
$type = \trim((new \ReflectionClass($connection->getDatabasePlatform()))->getShortName(), 'Platform');
$type = \get_class($connection->getDatabasePlatform());
}
} catch (Exception $e) {
$type = 'Unknown';
Expand Down

0 comments on commit a8fdeca

Please sign in to comment.