Page MenuHomeDevCentral

D158.diff
No OneTemporary

D158.diff

diff --git a/app/Phabricator/PhabricatorAPI.php b/app/Phabricator/PhabricatorAPI.php
--- a/app/Phabricator/PhabricatorAPI.php
+++ b/app/Phabricator/PhabricatorAPI.php
@@ -39,6 +39,12 @@
$this->apiToken = $apiToken;
}
+ /**
+ * Gets an API instance for the specific instance
+ *
+ * @param string $instance The name of the instance (this matches that parameter in credentials.json)
+ * @return PhabricatorAPI|null A PhabricatorAPI instance for the project if found; otherwise, null.
+ */
public static function forInstance ($instance) {
$service = self::getServiceForInstance($instance);
if ($service === null) {
@@ -49,7 +55,7 @@
}
/**
- * Gets an API instance for the specify project
+ * Gets an API instance for the specific project
*
* @param string $project The name of the project (this matches the door parameter in credentials.json)
* @return PhabricatorAPI|null A PhabricatorAPI instance for the project if found; otherwise, null.

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 4, 04:13 (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2393690
Default Alt Text
D158.diff (1 KB)

Event Timeline