Skip to content

Commit 12c73a1

Browse files
committed
minor symfony#60045 [TypeInfo] fix typo in expected exception message (xabbuh)
This PR was merged into the 7.3 branch. Discussion ---------- [TypeInfo] fix typo in expected exception message | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- e2eab14 fix typo in expected exception message
2 parents fcdc0cf + e2eab14 commit 12c73a1

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)