Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / comment / src / CommentInterface.php
index e80e5edfdcd1b83a58a98dd2390019d65f4cfefa..55405629ce570b63bd657300a7146006ae7cb7db 100644 (file)
@@ -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();