Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitContentMergeHeraldField.php
blobfbafae4f4a3ccfae3173a0d45e761b23009639b2
1 <?php
3 final class DiffusionPreCommitContentMergeHeraldField
4 extends DiffusionPreCommitContentHeraldField {
6 const FIELDCONST = 'diffusion.pre.content.merge';
8 public function getHeraldFieldName() {
9 return pht('Is merge commit');
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()->getIsMergeCommit();
16 protected function getHeraldFieldStandardType() {
17 return HeraldField::STANDARD_BOOL;