From a8fdeca89afae54f4a06108df41b577900343252 Mon Sep 17 00:00:00 2001 From: kreemer Date: Wed, 6 Dec 2023 15:17:16 +0100 Subject: [PATCH] Provide full name in database platform --- src/Service/Info/Collector/Doctrine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';