Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15519462
D11249.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11249.diff
View Options
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(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 20, 11:18 PM (5 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7220832
Default Alt Text
D11249.diff (1 KB)
Attached To
Mode
D11249: Fix method visibility for `AphrontFormControl` methods
Attached
Detach File
Event Timeline
Log In to Comment