X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FCommentInterface.php;h=55405629ce570b63bd657300a7146006ae7cb7db;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=e80e5edfdcd1b83a58a98dd2390019d65f4cfefa;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/comment/src/CommentInterface.php b/web/core/modules/comment/src/CommentInterface.php index e80e5edfd..55405629c 100644 --- a/web/core/modules/comment/src/CommentInterface.php +++ b/web/core/modules/comment/src/CommentInterface.php @@ -56,8 +56,9 @@ interface CommentInterface extends ContentEntityInterface, EntityChangedInterfac /** * 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();