Differential D25063 Diff 307 src/applications/conduit/controller/PhabricatorConduitConsoleController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/controller/PhabricatorConduitConsoleController.php
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | if ($stability_label) { | ||||
' ', | ' ', | ||||
phutil_tag('strong', array(), $stability_label.':'), | phutil_tag('strong', array(), $stability_label.':'), | ||||
' ', | ' ', | ||||
$stability_info, | $stability_info, | ||||
)); | )); | ||||
} | } | ||||
$view->addProperty( | $view->addProperty( | ||||
pht('Summary'), | |||||
$method->getMethodSummary()); | |||||
$view->addProperty( | |||||
pht('Returns'), | pht('Returns'), | ||||
$method->getReturnType()); | $method->getReturnType()); | ||||
$error_types = $method->getErrorTypes(); | $error_types = $method->getErrorTypes(); | ||||
$error_types['ERR-CONDUIT-CORE'] = pht('See error message for details.'); | $error_types['ERR-CONDUIT-CORE'] = pht('See error message for details.'); | ||||
$error_description = array(); | $error_description = array(); | ||||
foreach ($error_types as $error => $meaning) { | foreach ($error_types as $error => $meaning) { | ||||
$error_description[] = hsprintf( | $error_description[] = hsprintf( | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0