Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / conduit / method / ConduitPingConduitAPIMethod.php
blob9e0c1d4ff54b05deb854caf17c0e8a58f3c12326
1 <?php
3 final class ConduitPingConduitAPIMethod extends ConduitAPIMethod {
5 public function getAPIMethodName() {
6 return 'conduit.ping';
9 public function shouldRequireAuthentication() {
10 return false;
13 public function getMethodDescription() {
14 return pht('Basic ping for monitoring or a health-check.');
17 protected function defineParamTypes() {
18 return array();
21 protected function defineReturnType() {
22 return 'string';
25 protected function execute(ConduitAPIRequest $request) {
26 return php_uname('n');