diff --git a/src/applications/flag/view/PhabricatorFlagSelectControl.php b/src/applications/flag/view/PhabricatorFlagSelectControl.php --- a/src/applications/flag/view/PhabricatorFlagSelectControl.php +++ b/src/applications/flag/view/PhabricatorFlagSelectControl.php @@ -2,11 +2,11 @@ final class PhabricatorFlagSelectControl extends AphrontFormControl { - public function getCustomControlClass() { + protected function getCustomControlClass() { return 'phabricator-flag-select-control'; } - public function renderInput() { + protected function renderInput() { require_celerity_resource('phabricator-flag-css'); $colors = PhabricatorFlagColor::getColorNameMap(); diff --git a/src/applications/releeph/view/branch/ReleephBranchPreviewView.php b/src/applications/releeph/view/branch/ReleephBranchPreviewView.php --- a/src/applications/releeph/view/branch/ReleephBranchPreviewView.php +++ b/src/applications/releeph/view/branch/ReleephBranchPreviewView.php @@ -17,12 +17,12 @@ return $this; } - public function getCustomControlClass() { + protected function getCustomControlClass() { require_celerity_resource('releeph-preview-branch'); return 'releeph-preview-branch'; } - public function renderInput() { + protected function renderInput() { static $required_params = array( 'arcProjectID', 'projectName', diff --git a/src/applications/releeph/view/request/ReleephRequestTypeaheadControl.php b/src/applications/releeph/view/request/ReleephRequestTypeaheadControl.php --- a/src/applications/releeph/view/request/ReleephRequestTypeaheadControl.php +++ b/src/applications/releeph/view/request/ReleephRequestTypeaheadControl.php @@ -17,11 +17,11 @@ return $this; } - public function getCustomControlClass() { + protected function getCustomControlClass() { return 'releeph-request-typeahead'; } - public function renderInput() { + protected function renderInput() { $id = celerity_generate_unique_node_id(); $div = phutil_tag(