Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3469314
D25953.1744744413.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
2 KB
Referenced Files
None
Subscribers
None
D25953.1744744413.diff
View Options
diff --git a/src/configuration/ArcanistConfigurationManager.php b/src/configuration/ArcanistConfigurationManager.php
--- a/src/configuration/ArcanistConfigurationManager.php
+++ b/src/configuration/ArcanistConfigurationManager.php
@@ -50,9 +50,9 @@
* arguments ("runtime").
* The precedence is runtime > local > project > user > system
*
- * @param key $key Key to read.
- * @param wild $default (optional) Default value if key is not found.
- * @return wild Value, or default value if not found.
+ * @param string $key Key to read.
+ * @param wild $default (optional) Default value if key is not found.
+ * @return wild Value, or default value if not found.
*
* @task config
*/
@@ -71,7 +71,7 @@
* The map is ordered by the canonical sources precedence, which is:
* runtime > local > project > user > system
*
- * @param key $key Key to read
+ * @param string $key Key to read
* @return array Mapping of source => value read. Sources with no value are
* not in the array.
*
@@ -135,8 +135,8 @@
* Sets a runtime config value that takes precedence over any static
* config values.
*
- * @param key $key Key to set.
- * @param value $value The value of the key.
+ * @param string $key Key to set.
+ * @param wild $value The value of the key.
*
* @task config
*/
diff --git a/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php b/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
--- a/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
+++ b/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php
@@ -246,9 +246,9 @@
* configuration sources. See @{method:getConfigFromAnySource} to read from
* user configuration.
*
- * @param key $key Key to read.
- * @param wild $default (Optional) Default value if key is not found.
- * @return wild Value, or default value if not found.
+ * @param string $key Key to read.
+ * @param wild $default (Optional) Default value if key is not found.
+ * @return wild Value, or default value if not found.
*
* @task config
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 15, 19:13 (11 h, 19 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1279752
Default Alt Text
D25953.1744744413.diff (2 KB)
Attached To
Mode
D25953: PHPDoc: Replace invalid "key" and "value" types
Attached
Detach File
Event Timeline
Log In to Comment