Skip to content

Commit 50a437a

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Validator] Add a comma after the last array item in a multi-line array
2 parents 7bf58f1 + edab39f commit 50a437a

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)