From 03f7ffce5cac67cdfb20d3debfefb9d7b91b9b05 Mon Sep 17 00:00:00 2001 From: kreemer Date: Wed, 6 Dec 2023 15:13:07 +0100 Subject: [PATCH] Fix codestyle --- tests/Service/Info/Collector/DoctrineTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Service/Info/Collector/DoctrineTest.php b/tests/Service/Info/Collector/DoctrineTest.php index c207154..949faf8 100644 --- a/tests/Service/Info/Collector/DoctrineTest.php +++ b/tests/Service/Info/Collector/DoctrineTest.php @@ -83,12 +83,12 @@ public function databaseInformationIsDisplayed(): void self::assertIsArray($array['default']); self::assertArrayHasKey('type', $array['default']); - self::assertEquals(get_class($databasePlatform), $array['default']['type']); + self::assertEquals($databasePlatform::class, $array['default']['type']); self::assertArrayHasKey('database', $array['default']); self::assertNull($array['default']['database']); self::assertArrayHasKey('driver', $array['default']); - self::assertEquals(get_class($driver), $array['default']['driver']); + self::assertEquals($driver::class, $array['default']['driver']); } }