diff --git a/src/view/widget/bars/AphrontGlyphBarView.php b/src/view/widget/bars/AphrontGlyphBarView.php index d75fc932c4..5b8d606a27 100644 --- a/src/view/widget/bars/AphrontGlyphBarView.php +++ b/src/view/widget/bars/AphrontGlyphBarView.php @@ -11,7 +11,7 @@ final class AphrontGlyphBarView extends AphrontBarView { private $fgGlyph; private $bgGlyph; - public function getDefaultColor() { + protected function getDefaultColor() { return AphrontBarView::COLOR_AUTO_GOODNESS; } diff --git a/src/view/widget/bars/AphrontProgressBarView.php b/src/view/widget/bars/AphrontProgressBarView.php index 9987c68955..7117435aa5 100644 --- a/src/view/widget/bars/AphrontProgressBarView.php +++ b/src/view/widget/bars/AphrontProgressBarView.php @@ -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; }