 src/wp-includes/rest-api.php | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/wp-includes/rest-api.php b/src/wp-includes/rest-api.php
index 1c73b97824..e94b24878e 100644
--- a/src/wp-includes/rest-api.php
+++ b/src/wp-includes/rest-api.php
@@ -1276,7 +1276,14 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) {
  *
  * @param mixed $value The value to sanitize.
  * @param array $args  Schema array to use for sanitization.
- * @return true|WP_Error
+ * @return WP_Error|array|int|float|boolean|string|mixed
+ *			If response generated an error, WP_Error,
+ * 			If response is array , array,
+ *          If response is int number, int,
+ *          If response is float number, float,
+ *			If response is boolean,boolean,
+ *			If response is string, string,
+ *			otherwise, mixed.
  */
 function rest_sanitize_value_from_schema( $value, $args ) {
 	if ( 'array' === $args['type'] ) {
