From: Alex Monk Date: Fri, 19 Dec 2014 21:49:57 +0000 (+0000) Subject: Fix error in docs of VirtualRESTServiceClient and MultiHttpClient X-Git-Tag: 1.31.0-rc.0~12893^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=901b28fb51942de7df0b4fb9301c197600b4c672;p=lhc%2Fweb%2Fwiklou.git Fix error in docs of VirtualRESTServiceClient and MultiHttpClient err -> error Change-Id: I758c026599367b282150a513b09d6f6c837a3a80 --- 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];