Fix method visibility for PhabricatorPolicyAwareQuery subclasses
Summary: Ref T6822. Test Plan: `grep` for the following: - `->willFilterPage(` - `->loadPage(` - `->didFilterPage(` - `->getReversePaging(` - `->didFilterPage(` - `->willExecute(` - `->nextPage(` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11367
This commit is contained in:
@@ -22,7 +22,7 @@ final class PhabricatorOAuthClientAuthorizationQuery
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function loadPage() {
|
||||
protected function loadPage() {
|
||||
$table = new PhabricatorOAuthClientAuthorization();
|
||||
$conn_r = $table->establishConnection('r');
|
||||
|
||||
@@ -37,7 +37,7 @@ final class PhabricatorOAuthClientAuthorizationQuery
|
||||
return $table->loadAllFromArray($data);
|
||||
}
|
||||
|
||||
public function willFilterPage(array $authorizations) {
|
||||
protected function willFilterPage(array $authorizations) {
|
||||
$client_phids = mpull($authorizations, 'getClientPHID');
|
||||
|
||||
$clients = id(new PhabricatorOAuthServerClientQuery())
|
||||
|
||||
@@ -22,7 +22,7 @@ final class PhabricatorOAuthServerClientQuery
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function loadPage() {
|
||||
protected function loadPage() {
|
||||
$table = new PhabricatorOAuthServerClient();
|
||||
$conn_r = $table->establishConnection('r');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user