Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4815740
D26065.1749277022.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
1 KB
Referenced Files
None
Subscribers
None
D26065.1749277022.diff
View Options
diff --git a/src/future/http/BaseHTTPFuture.php b/src/future/http/BaseHTTPFuture.php
--- a/src/future/http/BaseHTTPFuture.php
+++ b/src/future/http/BaseHTTPFuture.php
@@ -317,7 +317,7 @@
* Parse a raw HTTP response into a <status, body, headers> tuple.
*
* @param string $raw_response Raw HTTP response.
- * @return tuple Valid resolution tuple.
+ * @return array Valid resolution tuple.
* @task internal
*/
protected function parseRawHTTPResponse($raw_response) {
@@ -444,7 +444,7 @@
* Build a result tuple indicating a parse error resulting from a malformed
* HTTP response.
*
- * @return tuple Valid resolution tuple.
+ * @return array Valid resolution tuple.
* @task internal
*/
protected function buildMalformedResult($raw_response) {
diff --git a/src/hgdaemon/ArcanistHgProxyClient.php b/src/hgdaemon/ArcanistHgProxyClient.php
--- a/src/hgdaemon/ArcanistHgProxyClient.php
+++ b/src/hgdaemon/ArcanistHgProxyClient.php
@@ -75,7 +75,7 @@
*
* @param list<string> $argv A list of command arguments, like "log", "-l",
* "5".
- * @return tuple<int, string, string> Return code, stdout and stderr.
+ * @return array<int, string, string> Tuple of return code, stdout, stderr.
*
* @task exec
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 7, 06:17 (3 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1754200
Default Alt Text
D26065.1749277022.diff (1 KB)
Attached To
Mode
D26065: PHPDoc: Replace non-existing return type tuple with array
Attached
Detach File
Event Timeline
Log In to Comment