Docs: Add missing parameter and return descriptions to the DocBlock for WP_Http_Curl::stream_headers().

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@35930 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-12-14 19:20:58 +00:00
parent b3f7fd1741
commit 293de63969

View File

@ -298,13 +298,17 @@ class WP_Http_Curl {
}
/**
* Grab the headers of the cURL request
* Grabs the headers of the cURL request.
*
* Each header is sent individually to this callback, so we append to the $header property for temporary storage
* Each header is sent individually to this callback, so we append to the `$header` property
* for temporary storage
*
* @since 3.2.0
* @access private
* @return int
*
* @param resource $handle cURL handle.
* @param string $headers cURL request headers.
* @return int Length of the request headers.
*/
private function stream_headers( $handle, $headers ) {
$this->headers .= $headers;