From 367918aac1cf3b6d16e6e5a9ba9c9619d3f30a97 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 7 Jan 2015 07:34:44 +1100 Subject: [PATCH] Fix method visibility for `PhabricatorApplication` methods Summary: Ref T6822. Test Plan: Visual inspection. These methods are only called from within the `PhabricatorApplication` class. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11243 --- .../countdown/application/PhabricatorCountdownApplication.php | 2 +- .../application/PhabricatorHarbormasterApplication.php | 2 +- .../slowvote/application/PhabricatorSlowvoteApplication.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/applications/countdown/application/PhabricatorCountdownApplication.php b/src/applications/countdown/application/PhabricatorCountdownApplication.php index e590c4e4bc..ecff70fc9f 100644 --- a/src/applications/countdown/application/PhabricatorCountdownApplication.php +++ b/src/applications/countdown/application/PhabricatorCountdownApplication.php @@ -48,7 +48,7 @@ final class PhabricatorCountdownApplication extends PhabricatorApplication { ); } - public function getCustomCapabilities() { + protected function getCustomCapabilities() { return array( PhabricatorCountdownDefaultViewCapability::CAPABILITY => array( 'caption' => pht('Default view policy for new countdowns.'), diff --git a/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php index bc17610852..d262b76673 100644 --- a/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php +++ b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php @@ -81,7 +81,7 @@ final class PhabricatorHarbormasterApplication extends PhabricatorApplication { ); } - public function getCustomCapabilities() { + protected function getCustomCapabilities() { return array( HarbormasterManagePlansCapability::CAPABILITY => array( 'caption' => pht('Can create and manage build plans.'), diff --git a/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php index 1f7fdf2864..c25353420c 100644 --- a/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php +++ b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php @@ -55,7 +55,7 @@ final class PhabricatorSlowvoteApplication extends PhabricatorApplication { ); } - public function getCustomCapabilities() { + protected function getCustomCapabilities() { return array( PhabricatorSlowvoteDefaultViewCapability::CAPABILITY => array( 'caption' => pht('Default view policy for new polls.'),