@@ -953,7 +953,7 @@ public static function cacheConfigurationProvider(): array
953953
954954 /** @param class-string $typeClassname */
955955 #[DataProvider('provideDatabaseTypeAttribute ' )]
956- public function testAsDatabaseTypeAttribute (string $ typeClassname , string $ expectedName ): void
956+ public function testAsDatabaseTypeAttribute (string $ typeClassname , string $ expectedTypeName ): void
957957 {
958958 $ container = $ this ->getContainer ();
959959 $ extension = new DoctrineExtension ();
@@ -977,7 +977,7 @@ public function testAsDatabaseTypeAttribute(string $typeClassname, string $expec
977977
978978 $ attributes [AsDatabaseType::class]($ definition , $ attribute , $ reflector );
979979
980- $ expected = ['name ' => $ expectedName ];
980+ $ expected = ['type_name ' => $ expectedTypeName ];
981981 $ this ->assertSame ([$ expected ], $ definition ->getTag ('doctrine.dbal.type ' ));
982982 $ this ->assertSame ([['source ' => 'by tag "doctrine.dbal.type" ' ]], $ definition ->getTag ('container.excluded ' ));
983983 }
@@ -986,8 +986,8 @@ public function testAsDatabaseTypeAttribute(string $typeClassname, string $expec
986986 public static function provideDatabaseTypeAttribute (): array
987987 {
988988 return [
989- 'with name ' => [DbalType::class, 'dbal_type ' ],
990- 'without name ' => [DbalTypeNoName::class, DbalTypeNoName::class],
989+ 'with type name ' => [DbalType::class, 'dbal_type ' ],
990+ 'without type name ' => [DbalTypeNoName::class, DbalTypeNoName::class],
991991 ];
992992 }
993993
0 commit comments