diff --git a/includes/class-http-client.php b/includes/class-http-client.php index 777ed100c4456ffea1089c0d5d621729e7c1b44f..3b07c350fa935659d898589b17bc5f69a3614778 100644 --- a/includes/class-http-client.php +++ b/includes/class-http-client.php @@ -9,6 +9,13 @@ require_once 'class-multipart.php'; class Http_Client { + /** + * Default request settings. + * + * @since 3.0.0 + * + * @var array $settings_defaults. + */ private const settings_defaults = [ 'params' => [], 'data' => [], @@ -82,7 +89,7 @@ class Http_Client * mimetype should be encoded before and passed in as string. * If $files is defined and is array, content type switches to multipart/form-data. * - * @sice 3.0.0 + * @since 3.0.0 * * @param string $url Target URL. * @param array $data Associative array with the request payload. @@ -109,7 +116,7 @@ class Http_Client /** * Performs a POST request with multipart/form-data content type payload. * - * @sice 3.0.0 + * @since 3.0.0 * * @param string $url Target URL. * @param array $data Associative array with the request payload. @@ -149,7 +156,7 @@ class Http_Client * mimetype should be encoded before and passed in as string. * If $files is defined and is array, content type switches to multipart/form-data. * - * @sice 3.0.0 + * @since 3.0.0 * * @param string $url Target URL. * @param array $data Associative array with the request payload. @@ -176,7 +183,7 @@ class Http_Client /** * Performs a PUT request with multipart/form-data content type payload. * - * @sice 3.0.0 + * @since 3.0.0 * * @param string $url Target URL. * @param array $data Associative array with the request payload.