Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialInlineComment.php
| Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | final class DifferentialInlineComment | ||||
| } | } | ||||
| // When setting a comment ID, we also generate a phantom transaction PHID for | // When setting a comment ID, we also generate a phantom transaction PHID for | ||||
| // the future transaction. | // the future transaction. | ||||
| public function setCommentID($id) { | public function setCommentID($id) { | ||||
| $this->proxy->setTransactionPHID( | $this->proxy->setTransactionPHID( | ||||
| PhabricatorPHID::generateNewPHID( | PhabricatorPHID::generateNewPHID( | ||||
| PhabricatorApplicationTransactionPHIDTypeTransaction::TYPECONST, | PhabricatorApplicationTransactionTransactionPHIDType::TYPECONST, | ||||
| DifferentialPHIDTypeRevision::TYPECONST)); | DifferentialRevisionPHIDType::TYPECONST)); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | ||||
| public function getMarkupFieldKey($field) { | public function getMarkupFieldKey($field) { | ||||
| // We can't use ID because synthetic comments don't have it. | // We can't use ID because synthetic comments don't have it. | ||||
| Show All 21 Lines | |||||