Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/181170

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/70/181170/1

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: newchange
Gerrit-Change-Id: I758c026599367b282150a513b09d6f6c837a3a80
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to