public function getRemarkupBlocks() { $blocks = parent::getRemarkupBlocks(); switch ($this->getTransactionType()) { case self::TYPE_CONTENT: $blocks[] = $this->getNewValue(); break; } return $blocks; }
public function getRemarkupBlocks() { $blocks = parent::getRemarkupBlocks(); switch ($this->getTransactionType()) { case self::TYPE_COMMIT: $data = $this->getNewValue(); $blocks[] = $data['description']; break; } return $blocks; }
public function getRemarkupBlocks() { $blocks = parent::getRemarkupBlocks(); $type = $this->getTransactionType(); switch ($type) { case self::TYPE_DESCRIPTION: $blocks[] = $this->getNewValue(); break; } return $blocks; }
protected function getRemarkupBlocksFromTransaction(PhabricatorApplicationTransaction $transaction) { return $transaction->getRemarkupBlocks(); }