mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-08 04:48:28 +01:00
Fix method visibility for AphrontFormControl
methods
Summary: Ref T6822. Test Plan: Visual inspection. These methods are only called from within the `AphrontFormControl` class. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11249
This commit is contained in:
parent
9c568802bb
commit
7756484a00
3 changed files with 6 additions and 6 deletions
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
final class PhabricatorFlagSelectControl extends AphrontFormControl {
|
final class PhabricatorFlagSelectControl extends AphrontFormControl {
|
||||||
|
|
||||||
public function getCustomControlClass() {
|
protected function getCustomControlClass() {
|
||||||
return 'phabricator-flag-select-control';
|
return 'phabricator-flag-select-control';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderInput() {
|
protected function renderInput() {
|
||||||
require_celerity_resource('phabricator-flag-css');
|
require_celerity_resource('phabricator-flag-css');
|
||||||
|
|
||||||
$colors = PhabricatorFlagColor::getColorNameMap();
|
$colors = PhabricatorFlagColor::getColorNameMap();
|
||||||
|
|
|
@ -17,12 +17,12 @@ final class ReleephBranchPreviewView extends AphrontFormControl {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCustomControlClass() {
|
protected function getCustomControlClass() {
|
||||||
require_celerity_resource('releeph-preview-branch');
|
require_celerity_resource('releeph-preview-branch');
|
||||||
return 'releeph-preview-branch';
|
return 'releeph-preview-branch';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderInput() {
|
protected function renderInput() {
|
||||||
static $required_params = array(
|
static $required_params = array(
|
||||||
'arcProjectID',
|
'arcProjectID',
|
||||||
'projectName',
|
'projectName',
|
||||||
|
|
|
@ -17,11 +17,11 @@ final class ReleephRequestTypeaheadControl extends AphrontFormControl {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCustomControlClass() {
|
protected function getCustomControlClass() {
|
||||||
return 'releeph-request-typeahead';
|
return 'releeph-request-typeahead';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderInput() {
|
protected function renderInput() {
|
||||||
$id = celerity_generate_unique_node_id();
|
$id = celerity_generate_unique_node_id();
|
||||||
|
|
||||||
$div = phutil_tag(
|
$div = phutil_tag(
|
||||||
|
|
Loading…
Add table
Reference in a new issue