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]