Commit 4a461d26 authored by catch's avatar catch
Browse files

Issue #3536999 by chesn0k, niklan:...

Issue #3536999 by chesn0k, niklan: Drupal\comment\Controller\CommentController::getReplyForm() never returns a response object

(cherry picked from commit be61071f)
parent 114970ea
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ public function redirectNode(EntityInterface $node) {
   *   (optional) Some comments are replies to other comments. In those cases,
   *   $pid is the parent comment's comment ID. Defaults to NULL.
   *
   * @return array|\Symfony\Component\HttpFoundation\RedirectResponse
   * @return array
   *   An associative array containing:
   *   - An array for rendering the entity or parent comment.
   *     - comment_entity: If the comment is a reply to the entity.