/**
  * @var AbstractRevision $summary
  * @var string           $timestamp
  */
 public function setRevisionTimestamp(AbstractRevision $revision, $timestamp)
 {
     $uid = $this->getTimestampId($timestamp);
     $setRevId = true;
     // We don't set the topic title postId as it was inherited from the workflow.  We only set the
     // postId for first revisions because further revisions inherit it from the parent which was
     // set appropriately.
     if ($revision instanceof PostRevision && $revision->isFirstRevision() && !$revision->isTopicTitle()) {
         $this->postIdProperty->setValue($revision, $uid);
     }
     if ($setRevId) {
         if ($revision->getRevisionId()->equals($revision->getLastContentEditId())) {
             $this->lastEditIdProperty->setValue($revision, $uid);
         }
         $this->revIdProperty->setValue($revision, $uid);
     }
 }