From af1b586990a70133045b5b209252bbb9c9622dc2 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 9 Jun 2015 07:09:58 +1000 Subject: [PATCH] Fix method visibilities Summary: See also D13186. Test Plan: Ran `arc unit --everything` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D13201 --- src/applications/almanac/query/AlmanacServiceQuery.php | 2 +- src/applications/files/query/PhabricatorFileSearchEngine.php | 2 +- .../harbormaster/query/HarbormasterBuildPlanSearchEngine.php | 2 +- src/applications/macro/query/PhabricatorMacroSearchEngine.php | 2 +- src/applications/people/query/PhabricatorPeopleSearchEngine.php | 2 +- src/applications/pholio/query/PholioMockSearchEngine.php | 2 +- .../project/query/PhabricatorProjectSearchEngine.php | 2 +- .../repository/query/PhabricatorRepositorySearchEngine.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/applications/almanac/query/AlmanacServiceQuery.php b/src/applications/almanac/query/AlmanacServiceQuery.php index 34879d5ca5..c31969d53f 100644 --- a/src/applications/almanac/query/AlmanacServiceQuery.php +++ b/src/applications/almanac/query/AlmanacServiceQuery.php @@ -178,7 +178,7 @@ final class AlmanacServiceQuery return parent::didFilterPage($services); } - public function getPrimaryTableAlias() { + protected function getPrimaryTableAlias() { return 'service'; } diff --git a/src/applications/files/query/PhabricatorFileSearchEngine.php b/src/applications/files/query/PhabricatorFileSearchEngine.php index 69eeb0e98a..57db0223bd 100644 --- a/src/applications/files/query/PhabricatorFileSearchEngine.php +++ b/src/applications/files/query/PhabricatorFileSearchEngine.php @@ -45,7 +45,7 @@ final class PhabricatorFileSearchEngine ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if ($map['authorPHIDs']) { diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php index 6d2fe319ae..7555fdc258 100644 --- a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php +++ b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php @@ -29,7 +29,7 @@ final class HarbormasterBuildPlanSearchEngine ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if ($map['status']) { diff --git a/src/applications/macro/query/PhabricatorMacroSearchEngine.php b/src/applications/macro/query/PhabricatorMacroSearchEngine.php index 6bf41e35bb..5c69716bbf 100644 --- a/src/applications/macro/query/PhabricatorMacroSearchEngine.php +++ b/src/applications/macro/query/PhabricatorMacroSearchEngine.php @@ -54,7 +54,7 @@ final class PhabricatorMacroSearchEngine ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if ($map['authorPHIDs']) { diff --git a/src/applications/people/query/PhabricatorPeopleSearchEngine.php b/src/applications/people/query/PhabricatorPeopleSearchEngine.php index 64b9f9db62..5038e4db5e 100644 --- a/src/applications/people/query/PhabricatorPeopleSearchEngine.php +++ b/src/applications/people/query/PhabricatorPeopleSearchEngine.php @@ -78,7 +78,7 @@ final class PhabricatorPeopleSearchEngine ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); $viewer = $this->requireViewer(); diff --git a/src/applications/pholio/query/PholioMockSearchEngine.php b/src/applications/pholio/query/PholioMockSearchEngine.php index 8b0f290c25..26b22034a7 100644 --- a/src/applications/pholio/query/PholioMockSearchEngine.php +++ b/src/applications/pholio/query/PholioMockSearchEngine.php @@ -32,7 +32,7 @@ final class PholioMockSearchEngine extends PhabricatorApplicationSearchEngine { ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if ($map['authorPHIDs']) { diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php index 4a384b492a..07ddb512d7 100644 --- a/src/applications/project/query/PhabricatorProjectSearchEngine.php +++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php @@ -41,7 +41,7 @@ final class PhabricatorProjectSearchEngine } - public function buildQueryFromParameters(array $map) { +protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if (strlen($map['name'])) { diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php index e4c1eb14c6..2070586498 100644 --- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php @@ -41,7 +41,7 @@ final class PhabricatorRepositorySearchEngine ); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = $this->newQuery(); if ($map['callsigns']) {