diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 4701135..8c251a2 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -264,7 +264,7 @@ function comment_view(CommentInterface $comment, $view_mode = 'full', $langcode /** * Constructs render array from an array of loaded comments. * - * @param array $comments + * @param \Drupal\comment\CommentInterface[] $comments * An array of comments as returned by entity_load_multiple(). * @param string $view_mode * (optional) View mode; for instance, 'full', 'teaser', etc. Defaults to diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index 4c7a45a..dd92f2b 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -337,7 +337,7 @@ protected function flagViolations(EntityConstraintViolationListInterface $violat * * @param array $form * An associative array containing the structure of the form. - * @param array $form_state + * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. */ public function preview(array &$form, FormStateInterface $form_state) {