diff --git a/src/Services/CommentService.php b/src/Services/CommentService.php index 75240f9b..10285d11 100644 --- a/src/Services/CommentService.php +++ b/src/Services/CommentService.php @@ -101,7 +101,7 @@ class CommentService private function updateCommentText(Comment $comment, $text) { - $this->validator->validateLength($text, 5, 2000, 'Comment text'); + $this->validator->validateLength($text, 5, 5000, 'Comment text'); $comment->setText($text); } }