diff --git a/core/lib/Drupal/Core/Entity/RevisionableInterface.php b/core/lib/Drupal/Core/Entity/RevisionableInterface.php index ce1b647..bd01699 100644 --- a/core/lib/Drupal/Core/Entity/RevisionableInterface.php +++ b/core/lib/Drupal/Core/Entity/RevisionableInterface.php @@ -25,13 +25,13 @@ public function isNewRevision(); /** * Enforces an entity to be saved as a new revision. * - * A \LogicException is thrown if the entity does not support revisions. - * * @param bool $value * (optional) Whether a new revision should be saved. * - * @see \Drupal\Core\Entity\EntityInterface::isNewRevision() * @throws \LogicException + * Thrown if the entity does not support revisions. + * + * @see \Drupal\Core\Entity\EntityInterface::isNewRevision() */ public function setNewRevision($value = TRUE);