From 259b40fc28e39105dac513c1ae0175f2274eb98f Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 8 Jun 2015 09:52:14 +1000 Subject: [PATCH] Fix some method visibilities Summary: See D13185, the `testMethodVisibility()` test was not being executed. Test Plan: `arc unit` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D13186 --- src/applications/paste/query/PhabricatorPasteSearchEngine.php | 2 +- src/applications/spaces/view/PhabricatorSpacesControl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/paste/query/PhabricatorPasteSearchEngine.php b/src/applications/paste/query/PhabricatorPasteSearchEngine.php index 2d69d441fa..91e8a6497e 100644 --- a/src/applications/paste/query/PhabricatorPasteSearchEngine.php +++ b/src/applications/paste/query/PhabricatorPasteSearchEngine.php @@ -15,7 +15,7 @@ final class PhabricatorPasteSearchEngine return new PhabricatorPaste(); } - public function buildQueryFromParameters(array $map) { + protected function buildQueryFromParameters(array $map) { $query = id(new PhabricatorPasteQuery()) ->needContent(true); diff --git a/src/applications/spaces/view/PhabricatorSpacesControl.php b/src/applications/spaces/view/PhabricatorSpacesControl.php index 659de58b1a..aa40238c56 100644 --- a/src/applications/spaces/view/PhabricatorSpacesControl.php +++ b/src/applications/spaces/view/PhabricatorSpacesControl.php @@ -28,7 +28,7 @@ final class PhabricatorSpacesControl extends AphrontFormControl { return $map; } - public function renderInput() { + protected function renderInput() { $viewer = $this->getUser(); $this->setLabel(pht('Space'));