diff --git a/tests/Types/TypeTest.php b/tests/Types/TypeTest.php index 81e409440e2..e6999eabfce 100644 --- a/tests/Types/TypeTest.php +++ b/tests/Types/TypeTest.php @@ -5,6 +5,7 @@ namespace Doctrine\DBAL\Tests\Types; use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use PHPUnit\Framework\TestCase; use ReflectionClass; @@ -19,7 +20,7 @@ public function testDefaultTypesAreRegistered(string $name): void /** @return iterable */ public static function defaultTypesProvider(): iterable { - foreach ((new ReflectionClass(Type::class))->getReflectionConstants() as $constant) { + foreach ((new ReflectionClass(Types::class))->getReflectionConstants() as $constant) { if (! $constant->isPublic()) { continue; }