Skip to content

Commit 5d5a44d

Browse files
authored
Merge pull request #5861 from todeveni/patch-1
2 parents 9239cff + 436bc67 commit 5d5a44d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

php/utils.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,12 @@ static function ( $matches ) use ( $file, $dir ) {
760760
*
761761
* @access public
762762
*
763-
* @param string $method HTTP method (GET, POST, DELETE, etc.).
764-
* @param string $url URL to make the HTTP request to.
765-
* @param array $headers Add specific headers to the request.
766-
* @param array $options {
763+
* @param string $method HTTP method (GET, POST, DELETE, etc.).
764+
* @param string $url URL to make the HTTP request to.
765+
* @param array|null $data Data to send either as a query string for GET/HEAD requests,
766+
* or in the body for POST requests.
767+
* @param array $headers Add specific headers to the request.
768+
* @param array $options {
767769
* Optional. An associative array of additional request options.
768770
*
769771
* @type bool $halt_on_error Whether or not command execution should be halted on error. Default: true

0 commit comments

Comments
 (0)