Skip to content

Commit

Permalink
Improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Mar 18, 2024
1 parent b885710 commit a270781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WordPress/AsyncHttp/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ public function set_progress_callback( $onProgress ) {
* an internal queue. Network transmission is delayed until one of the returned
* streams is read from.
*
* @param mixed $requests The HTTP request(s) to enqueue. Can be a single request or an array of requests.
* @param Request|Request[] $requests The HTTP request(s) to enqueue. Can be a single request or an array of requests.
*
* @return array The enqueued streams.
* @return resource|array The enqueued streams.
*/
public function enqueue( $requests ) {
if ( ! is_array( $requests ) ) {
Expand Down

0 comments on commit a270781

Please sign in to comment.