From 6ff5eed206568d5d5acc7b5ea4b8bdc4bf0cf1c6 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Fri, 16 Jan 2015 06:56:32 +1100 Subject: [PATCH] Fix visibility of `DiffusionLowLevelQuery::executeQuery()` methods Summary: Ref T6822. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11411 --- .../query/lowlevel/DiffusionLowLevelCommitFieldsQuery.php | 2 +- .../diffusion/query/lowlevel/DiffusionLowLevelCommitQuery.php | 2 +- .../diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php | 2 +- .../query/lowlevel/DiffusionLowLevelResolveRefsQuery.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitFieldsQuery.php b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitFieldsQuery.php index a288d6a70b..7c7072dbf5 100644 --- a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitFieldsQuery.php +++ b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitFieldsQuery.php @@ -26,7 +26,7 @@ final class DiffusionLowLevelCommitFieldsQuery return $this; } - public function executeQuery() { + protected function executeQuery() { $ref = $this->ref; $message = $ref->getMessage(); $hashes = $ref->getHashes(); diff --git a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitQuery.php b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitQuery.php index 54f42ef7d7..4aaf85d930 100644 --- a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitQuery.php +++ b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelCommitQuery.php @@ -15,7 +15,7 @@ final class DiffusionLowLevelCommitQuery return $this; } - public function executeQuery() { + protected function executeQuery() { if (!strlen($this->identifier)) { throw new Exception( pht('You must provide an identifier with withIdentifier()!')); diff --git a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php index b7ecf5a5c4..2b264bc35c 100644 --- a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php +++ b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php @@ -10,7 +10,7 @@ final class DiffusionLowLevelParentsQuery return $this; } - public function executeQuery() { + protected function executeQuery() { if (!strlen($this->identifier)) { throw new Exception( pht('You must provide an identifier with withIdentifier()!')); diff --git a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelResolveRefsQuery.php b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelResolveRefsQuery.php index 72f2d18533..25973562e0 100644 --- a/src/applications/diffusion/query/lowlevel/DiffusionLowLevelResolveRefsQuery.php +++ b/src/applications/diffusion/query/lowlevel/DiffusionLowLevelResolveRefsQuery.php @@ -15,7 +15,7 @@ final class DiffusionLowLevelResolveRefsQuery return $this; } - public function executeQuery() { + protected function executeQuery() { if (!$this->refs) { return array(); }