From 293de6396986b02241d17286c2e6d712aa14c6b6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 14 Dec 2015 19:20:58 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-http-curl.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-http-curl.php b/src/wp-includes/class-wp-http-curl.php index d59ddecfad..3339a5e3f7 100644 --- a/src/wp-includes/class-wp-http-curl.php +++ b/src/wp-includes/class-wp-http-curl.php @@ -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;