diff --git a/core/modules/comment/src/CommentInterface.php b/core/modules/comment/src/CommentInterface.php index e80e5edfdcd1b83a58a98dd2390019d65f4cfefa..55405629ce570b63bd657300a7146006ae7cb7db 100644 --- a/core/modules/comment/src/CommentInterface.php +++ b/core/modules/comment/src/CommentInterface.php @@ -56,8 +56,9 @@ public function getParentComment(); /** * Returns the entity to which the comment is attached. * - * @return \Drupal\Core\Entity\FieldableEntityInterface - * The entity on which the comment is attached. + * @return \Drupal\Core\Entity\FieldableEntityInterface|null + * The entity on which the comment is attached or NULL if the comment is an + * orphan. */ public function getCommentedEntity();