diff --git a/stubs/WordPress/functions.php b/stubs/WordPress/functions.php index 9b7c9ea..457b2bc 100644 --- a/stubs/WordPress/functions.php +++ b/stubs/WordPress/functions.php @@ -1022,9 +1022,10 @@ function wp_send_json( $response, $status_code = null ) { } /** - * @param string|string[] $value + * @template T of string|string[] + * @param T $value * - * @return string|string[] + * @return T */ function wp_unslash( $value ) { }