Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / search / field / PhabricatorSearchIntField.php
blob70af9344706a5c7a8c9ffe4af1c580d7903f6b66
1 <?php
3 final class PhabricatorSearchIntField
4 extends PhabricatorSearchField {
6 protected function getDefaultValue() {
7 return null;
10 protected function getValueFromRequest(AphrontRequest $request, $key) {
11 return $request->getInt($key);
14 protected function newControl() {
15 return new AphrontFormTextControl();
18 protected function newConduitParameterType() {
19 return new ConduitIntParameterType();