From 901b28fb51942de7df0b4fb9301c197600b4c672 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Fri, 19 Dec 2014 21:49:57 +0000 Subject: [PATCH] Fix error in docs of VirtualRESTServiceClient and MultiHttpClient err -> error Change-Id: I758c026599367b282150a513b09d6f6c837a3a80 --- includes/libs/MultiHttpClient.php | 4 ++-- includes/libs/virtualrest/VirtualRESTServiceClient.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/libs/MultiHttpClient.php b/includes/libs/MultiHttpClient.php index 8c982c431b..8ed9ee42d2 100644 --- a/includes/libs/MultiHttpClient.php +++ b/includes/libs/MultiHttpClient.php @@ -83,7 +83,7 @@ class MultiHttpClient { * - reason : HTTP response reason (empty if there was a serious cURL error) * - headers :
* - 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: * * list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) = $http->run( $req ); @@ -107,7 +107,7 @@ class MultiHttpClient { * - reason : HTTP response reason (empty if there was a serious cURL error) * - headers :
* - 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: * * list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) = $req['response']; diff --git a/includes/libs/virtualrest/VirtualRESTServiceClient.php b/includes/libs/virtualrest/VirtualRESTServiceClient.php index 22758318dd..6f416f12b0 100644 --- a/includes/libs/virtualrest/VirtualRESTServiceClient.php +++ b/includes/libs/virtualrest/VirtualRESTServiceClient.php @@ -125,7 +125,7 @@ class VirtualRESTServiceClient { * - reason : HTTP response reason (empty if there was a serious cURL error) * - headers :
* - 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: * * list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) = $client->run( $req ); @@ -146,7 +146,7 @@ class VirtualRESTServiceClient { * - reason : HTTP response reason (empty if there was a serious cURL error) * - headers :
* - 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: * * list( $rcode, $rdesc, $rhdrs, $rbody, $rerr ) = $responses[0]; -- 2.20.1