Differential D21287 Diff 50690 src/applications/differential/storage/DifferentialTransactionComment.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialTransactionComment.php
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | final class DifferentialTransactionComment | ||||
} | } | ||||
public function attachInlineContext( | public function attachInlineContext( | ||||
PhabricatorInlineCommentContext $context = null) { | PhabricatorInlineCommentContext $context = null) { | ||||
$this->inlineContext = $context; | $this->inlineContext = $context; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function isEmptyComment() { | |||||
if (!parent::isEmptyComment()) { | |||||
return false; | |||||
} | |||||
return $this->newInlineCommentObject() | |||||
->getContentState() | |||||
->isEmptyContentState(); | |||||
} | |||||
} | } |