Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / view / form / control / AphrontFormFileControl.php
blob9f7e7ab34667b6ac05054b574366f2ebcfbcf730
1 <?php
3 final class AphrontFormFileControl extends AphrontFormControl {
5 protected function getCustomControlClass() {
6 return 'aphront-form-file-text';
9 protected function renderInput() {
10 return phutil_tag(
11 'input',
12 array(
13 'type' => 'file',
14 'name' => $this->getName(),
15 'disabled' => $this->getDisabled() ? 'disabled' : null,
16 ));