From 918671aebe8e95e75de35ddb0f963c5e915ca5f7 Mon Sep 17 00:00:00 2001 From: wkania Date: Tue, 9 Feb 2021 20:02:25 +0100 Subject: [PATCH] [Validator] Add a comma after the last array item in a multi-line array --- validation/raw_values.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/raw_values.rst b/validation/raw_values.rst index cd25bec0653..8cee65108b8 100644 --- a/validation/raw_values.rst +++ b/validation/raw_values.rst @@ -88,7 +88,7 @@ Validation of arrays is possible using the ``Collection`` constraint:: new Assert\Collection([ 'slug' => [ new Assert\NotBlank(), - new Assert\Type(['type' => 'string']) + new Assert\Type(['type' => 'string']), ], 'label' => [ new Assert\NotBlank(),