1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Fix visibility of AphrontBarView::getDefaultColor() methods

Summary: Ref T6822.

Test Plan: Visual inspection. This method is only called from within the `AphrontBarView` class.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11240
This commit is contained in:
Joshua Spence 2015-01-07 07:35:05 +11:00
parent e7f8e79742
commit 0715bce4a1
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ final class AphrontGlyphBarView extends AphrontBarView {
private $fgGlyph;
private $bgGlyph;
public function getDefaultColor() {
protected function getDefaultColor() {
return AphrontBarView::COLOR_AUTO_GOODNESS;
}

View file

@ -8,7 +8,7 @@ final class AphrontProgressBarView extends AphrontBarView {
private $max = 100;
private $alt = '';
public function getDefaultColor() {
protected function getDefaultColor() {
return AphrontBarView::COLOR_AUTO_BADNESS;
}