Skip to content

Commit 7c69a0b

Browse files
committed
minor #14945 [Validator] Add a comma after the last array item in a multi-line array (wkania)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] Add a comma after the last array item in a multi-line array <!-- 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 ------- 918671a [Validator] Add a comma after the last array item in a multi-line array
2 parents 60cd0f7 + 918671a commit 7c69a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/raw_values.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
8888
new Assert\Collection([
8989
'slug' => [
9090
new Assert\NotBlank(),
91-
new Assert\Type(['type' => 'string'])
91+
new Assert\Type(['type' => 'string']),
9292
],
9393
'label' => [
9494
new Assert\NotBlank(),

0 commit comments

Comments
 (0)