Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionCommitReviewerHeraldField.php
blob420c2576ecfec08a63cbfce0084e173b0dfa77eb
1 <?php
3 final class DiffusionCommitReviewerHeraldField
4 extends DiffusionCommitHeraldField {
6 const FIELDCONST = 'diffusion.commit.reviewer';
8 public function getHeraldFieldName() {
9 return pht('Reviewer (Deprecated)');
12 public function getFieldGroupKey() {
13 return HeraldDeprecatedFieldGroup::FIELDGROUPKEY;
16 public function getHeraldFieldValue($object) {
17 return $object->getCommitData()->getCommitDetail('reviewerPHID');
20 protected function getHeraldFieldStandardType() {
21 return self::STANDARD_PHID_NULLABLE;
24 protected function getDatasource() {
25 return new PhabricatorPeopleDatasource();