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'));