mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 06:11:01 +01:00
Fix visibility of ConduitAPIMethod::execute
methods
Summary: Ref T6822. These methods should be `protected`. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11407
This commit is contained in:
parent
378d4380d3
commit
a76b161c7f
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ final class TokenGiveConduitAPIMethod extends TokenConduitAPIMethod {
|
||||||
return 'void';
|
return 'void';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(ConduitAPIRequest $request) {
|
protected function execute(ConduitAPIRequest $request) {
|
||||||
$content_source = PhabricatorContentSource::newFromConduitRequest($request);
|
$content_source = PhabricatorContentSource::newFromConduitRequest($request);
|
||||||
|
|
||||||
$editor = id(new PhabricatorTokenGivenEditor())
|
$editor = id(new PhabricatorTokenGivenEditor())
|
||||||
|
|
|
@ -26,7 +26,7 @@ final class TokenGivenConduitAPIMethod extends TokenConduitAPIMethod {
|
||||||
return 'list<dict>';
|
return 'list<dict>';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(ConduitAPIRequest $request) {
|
protected function execute(ConduitAPIRequest $request) {
|
||||||
$query = id(new PhabricatorTokenGivenQuery())
|
$query = id(new PhabricatorTokenGivenQuery())
|
||||||
->setViewer($request->getUser());
|
->setViewer($request->getUser());
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class TokenQueryConduitAPIMethod extends TokenConduitAPIMethod {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(ConduitAPIRequest $request) {
|
protected function execute(ConduitAPIRequest $request) {
|
||||||
$query = id(new PhabricatorTokenQuery())
|
$query = id(new PhabricatorTokenQuery())
|
||||||
->setViewer($request->getUser());
|
->setViewer($request->getUser());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue