Skip to content

Commit e2eab14

Browse files
committed
fix typo in expected exception message
1 parent fcdc0cf commit e2eab14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/TypeInfo/Tests/Type/ArrayShapeTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function testCannotConstructWithInvalidExtra(string $expectedMessage, ?Ty
3838
*/
3939
public static function cannotConstructWithInvalidExtraDataProvider(): iterable
4040
{
41-
yield ['You must provide as value for "$extraValueType" when "$extraKeyType" is provided.', Type::string(), null];
42-
yield ['You must provide as value for "$extraKeyType" when "$extraValueType" is provided.', null, Type::string()];
41+
yield ['You must provide a value for "$extraValueType" when "$extraKeyType" is provided.', Type::string(), null];
42+
yield ['You must provide a value for "$extraKeyType" when "$extraValueType" is provided.', null, Type::string()];
4343
yield ['"float" is not a valid array key type.', Type::float(), Type::string()];
4444
}
4545

0 commit comments

Comments
 (0)