Skip to content

Commit 0f9fe49

Browse files
committed
minor symfony#14876 [Validator] Use single quotes for string (wkania)
This PR was merged into the 5.1 branch. Discussion ---------- [Validator] Use single quotes for string <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 0b715de [Validator] Use single quotes for string
2 parents 8ebccad + 0b715de commit 0f9fe49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Sequentially.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ You can validate each of these constraints sequentially to solve these issues:
120120
{
121121
$metadata->addPropertyConstraint('address', new Assert\Sequentially([
122122
new Assert\NotNull(),
123-
new Assert\Type("string"),
123+
new Assert\Type('string'),
124124
new Assert\Length(['min' => 10]),
125125
new Assert\Regex(self::ADDRESS_REGEX),
126126
new AcmeAssert\Geolocalizable(),

0 commit comments

Comments
 (0)