Differential D9859 Diff 23678 src/applications/conduit/controller/PhabricatorConduitAPIController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/controller/PhabricatorConduitAPIController.php
| <?php | <?php | ||||
| /** | |||||
| * @group conduit | |||||
| */ | |||||
| final class PhabricatorConduitAPIController | final class PhabricatorConduitAPIController | ||||
| extends PhabricatorConduitController { | extends PhabricatorConduitController { | ||||
| public function shouldRequireLogin() { | public function shouldRequireLogin() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| private $method; | private $method; | ||||
| ▲ Show 20 Lines • Show All 448 Lines • ▼ Show 20 Lines | if (!strlen($params_json)) { | ||||
| "Invalid parameter information was passed to method ". | "Invalid parameter information was passed to method ". | ||||
| "'{$method}', could not decode JSON serialization. Data: ". | "'{$method}', could not decode JSON serialization. Data: ". | ||||
| $params_json); | $params_json); | ||||
| } | } | ||||
| } | } | ||||
| return $params; | return $params; | ||||
| } | } | ||||
| } | } | ||||