Differential D16282 Diff 39156 src/applications/transactions/editfield/PhabricatorEpochEditField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editfield/PhabricatorEpochEditField.php
Show All 15 Lines | final class PhabricatorEpochEditField | ||||
protected function newControl() { | protected function newControl() { | ||||
return id(new AphrontFormDateControl()) | return id(new AphrontFormDateControl()) | ||||
->setAllowNull($this->getAllowNull()) | ->setAllowNull($this->getAllowNull()) | ||||
->setViewer($this->getViewer()); | ->setViewer($this->getViewer()); | ||||
} | } | ||||
protected function newHTTPParameterType() { | protected function newHTTPParameterType() { | ||||
return new AphrontEpochHTTPParameterType(); | return id(new AphrontEpochHTTPParameterType()) | ||||
->setAllowNull($this->getAllowNull()); | |||||
} | } | ||||
protected function newConduitParameterType() { | protected function newConduitParameterType() { | ||||
// TODO: This isn't correct, but we don't have any methods which use this | // TODO: This isn't correct, but we don't have any methods which use this | ||||
// yet. | // yet. | ||||
return new ConduitIntParameterType(); | return new ConduitIntParameterType(); | ||||
} | } | ||||
} | } |