Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / settings / setting / PhabricatorStringSetting.php
blob1d4d226ba5bcfa98c2cb9871209ee1498226e5c3
1 <?php
3 abstract class PhabricatorStringSetting
4 extends PhabricatorSetting {
6 final protected function newCustomEditField($object) {
7 return $this->newEditField($object, new PhabricatorTextEditField());
10 public function getTransactionNewValue($value) {
11 if (!strlen($value)) {
12 return null;
15 return (string)$value;