Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14475945
D11407.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11407.diff
View Options
diff --git a/src/applications/tokens/conduit/TokenGiveConduitAPIMethod.php b/src/applications/tokens/conduit/TokenGiveConduitAPIMethod.php
--- a/src/applications/tokens/conduit/TokenGiveConduitAPIMethod.php
+++ b/src/applications/tokens/conduit/TokenGiveConduitAPIMethod.php
@@ -25,7 +25,7 @@
return 'void';
}
- public function execute(ConduitAPIRequest $request) {
+ protected function execute(ConduitAPIRequest $request) {
$content_source = PhabricatorContentSource::newFromConduitRequest($request);
$editor = id(new PhabricatorTokenGivenEditor())
diff --git a/src/applications/tokens/conduit/TokenGivenConduitAPIMethod.php b/src/applications/tokens/conduit/TokenGivenConduitAPIMethod.php
--- a/src/applications/tokens/conduit/TokenGivenConduitAPIMethod.php
+++ b/src/applications/tokens/conduit/TokenGivenConduitAPIMethod.php
@@ -26,7 +26,7 @@
return 'list<dict>';
}
- public function execute(ConduitAPIRequest $request) {
+ protected function execute(ConduitAPIRequest $request) {
$query = id(new PhabricatorTokenGivenQuery())
->setViewer($request->getUser());
diff --git a/src/applications/tokens/conduit/TokenQueryConduitAPIMethod.php b/src/applications/tokens/conduit/TokenQueryConduitAPIMethod.php
--- a/src/applications/tokens/conduit/TokenQueryConduitAPIMethod.php
+++ b/src/applications/tokens/conduit/TokenQueryConduitAPIMethod.php
@@ -22,7 +22,7 @@
return array();
}
- public function execute(ConduitAPIRequest $request) {
+ protected function execute(ConduitAPIRequest $request) {
$query = id(new PhabricatorTokenQuery())
->setViewer($request->getUser());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 9:56 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6941250
Default Alt Text
D11407.diff (1 KB)
Attached To
Mode
D11407: Fix visibility of `ConduitAPIMethod::execute` methods
Attached
Detach File
Event Timeline
Log In to Comment