From e11a1def3d47c1c9c52bdd733c543dd7da9b914f Mon Sep 17 00:00:00 2001 From: Jeroen Date: Thu, 21 Aug 2025 11:39:14 +0200 Subject: [PATCH] Change order of attribute arguments --- src/Entity/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Comment.php b/src/Entity/Comment.php index 707601781..fe8e80bdf 100644 --- a/src/Entity/Comment.php +++ b/src/Entity/Comment.php @@ -41,7 +41,7 @@ class Comment #[ORM\Column(type: Types::TEXT)] #[Assert\NotBlank(message: 'comment.blank')] - #[Assert\Length(min: 5, minMessage: 'comment.too_short', max: 10000, maxMessage: 'comment.too_long')] + #[Assert\Length(min: 5, max: 10000, minMessage: 'comment.too_short', maxMessage: 'comment.too_long')] private ?string $content = null; #[ORM\Column]