Page MenuHomePhorge

D25257.1734874646.diff
No OneTemporary

D25257.1734874646.diff

diff --git a/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php b/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
@@ -95,7 +95,7 @@
$section[] = $type->getConduitDescription();
$type_documentation = $type->getConduitDocumentation();
- if (strlen($type_documentation)) {
+ if (phutil_nonempty_string($type_documentation)) {
$section[] = $type_documentation;
}
diff --git a/src/applications/transactions/editfield/PhabricatorEditField.php b/src/applications/transactions/editfield/PhabricatorEditField.php
--- a/src/applications/transactions/editfield/PhabricatorEditField.php
+++ b/src/applications/transactions/editfield/PhabricatorEditField.php
@@ -169,11 +169,20 @@
return $this->conduitDescription;
}
+ /**
+ * Set the Conduit documentation in raw Remarkup.
+ * @param string|null $conduit_documentation
+ * @return self
+ */
public function setConduitDocumentation($conduit_documentation) {
$this->conduitDocumentation = $conduit_documentation;
return $this;
}
+ /**
+ * Get the Conduit documentation in raw Remarkup.
+ * @return string|null
+ */
public function getConduitDocumentation() {
return $this->conduitDocumentation;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 13:37 (11 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025989
Default Alt Text
D25257.1734874646.diff (1 KB)

Event Timeline