Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editfield/PhabricatorIntEditField.php
<?php | <?php | ||||
final class PhabricatorIntEditField | final class PhabricatorIntEditField | ||||
extends PhabricatorEditField { | extends PhabricatorEditField { | ||||
protected function newControl() { | protected function newControl() { | ||||
return new AphrontFormTextControl(); | return new AphrontFormTextControl(); | ||||
} | } | ||||
protected function newHTTPParameterType() { | |||||
return new AphrontIntHTTPParameterType(); | |||||
} | |||||
protected function newConduitParameterType() { | protected function newConduitParameterType() { | ||||
return new ConduitIntParameterType(); | return new ConduitIntParameterType(); | ||||
} | } | ||||
} | } |