jenkins-bot has submitted this change and it was merged.
Change subject: Fix error in docs of VirtualRESTServiceClient and
MultiHttpClient
......................................................................
Fix error in docs of VirtualRESTServiceClient and MultiHttpClient
err -> error
Change-Id: I758c026599367b282150a513b09d6f6c837a3a80
---
M includes/libs/MultiHttpClient.php
M includes/libs/virtualrest/VirtualRESTServiceClient.php
2 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/libs/MultiHttpClient.php
b/includes/libs/MultiHttpClient.php
index 8c982c4..8ed9ee4 100644
--- a/includes/libs/MultiHttpClient.php
+++ b/includes/libs/MultiHttpClient.php
@@ -83,7 +83,7 @@
* - reason : HTTP response reason (empty if there was a serious
cURL error)
* - headers : <header name/value associative array>
* - body : HTTP response body or resource (if "stream" was set)
- * - err : Any cURL error string
+ * - error : Any cURL error string
* The map also stores integer-indexed copies of these values. This
lets callers do:
* <code>
* list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) =
$http->run( $req );
@@ -107,7 +107,7 @@
* - reason : HTTP response reason (empty if there was a serious
cURL error)
* - headers : <header name/value associative array>
* - body : HTTP response body or resource (if "stream" was set)
- * - err : Any cURL error string
+ * - error : Any cURL error string
* The map also stores integer-indexed copies of these values. This
lets callers do:
* <code>
* list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) =
$req['response'];
diff --git a/includes/libs/virtualrest/VirtualRESTServiceClient.php
b/includes/libs/virtualrest/VirtualRESTServiceClient.php
index 2275831..6f416f1 100644
--- a/includes/libs/virtualrest/VirtualRESTServiceClient.php
+++ b/includes/libs/virtualrest/VirtualRESTServiceClient.php
@@ -125,7 +125,7 @@
* - reason : HTTP response reason (empty if there was a serious
cURL error)
* - headers : <header name/value associative array>
* - body : HTTP response body or resource (if "stream" was set)
- * - err : Any cURL error string
+ * - error : Any cURL error string
* The map also stores integer-indexed copies of these values. This
lets callers do:
* <code>
* list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) =
$client->run( $req );
@@ -146,7 +146,7 @@
* - reason : HTTP response reason (empty if there was a serious
cURL error)
* - headers : <header name/value associative array>
* - body : HTTP response body or resource (if "stream" was set)
- * - err : Any cURL error string
+ * - error : Any cURL error string
* The map also stores integer-indexed copies of these values. This
lets callers do:
* <code>
* list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) =
$responses[0];
--
To view, visit https://gerrit.wikimedia.org/r/181170
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I758c026599367b282150a513b09d6f6c837a3a80
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits