Skip to content

Commit 918671a

Browse files
authored
[Validator] Add a comma after the last array item in a multi-line array
1 parent 60cd0f7 commit 918671a

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)