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:
parent
b3f7fd1741
commit
293de63969
@ -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
|
* @since 3.2.0
|
||||||
* @access private
|
* @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 ) {
|
private function stream_headers( $handle, $headers ) {
|
||||||
$this->headers .= $headers;
|
$this->headers .= $headers;
|
||||||
|
Loading…
Reference in New Issue
Block a user