diff --git a/src/Service/Info/Collector/Doctrine.php b/src/Service/Info/Collector/Doctrine.php index cc9b031..2c60b74 100644 --- a/src/Service/Info/Collector/Doctrine.php +++ b/src/Service/Info/Collector/Doctrine.php @@ -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';