mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
fix cs
This commit is contained in:
@@ -235,7 +235,9 @@ class NotificationController extends AbstractController
|
||||
'id' => $notification->getId(),
|
||||
'_fragment' => 'comment-' . $commentId,
|
||||
]);
|
||||
} elseif ($editedCommentForm->isSubmitted() && !$editedCommentForm->isValid()) {
|
||||
}
|
||||
|
||||
if ($editedCommentForm->isSubmitted() && !$editedCommentForm->isValid()) {
|
||||
$this->addFlash('error', $this->translator->trans('This form contains errors'));
|
||||
}
|
||||
}
|
||||
@@ -258,7 +260,9 @@ class NotificationController extends AbstractController
|
||||
return $this->redirectToRoute('chill_main_notification_show', [
|
||||
'id' => $notification->getId(),
|
||||
]);
|
||||
} elseif ($appendCommentForm->isSubmitted() && !$appendCommentForm->isValid()) {
|
||||
}
|
||||
|
||||
if ($appendCommentForm->isSubmitted() && !$appendCommentForm->isValid()) {
|
||||
$this->addFlash('error', $this->translator->trans('This form contains errors'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user