From e0787b6a2bc7051d5b6dfa911ed9e9d3cc8f74e9 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 7 Feb 2016 00:14:15 +0000 Subject: [PATCH] Docs: Add a missing type to the return description for `map_deep()`. Props sebastianpisula. See #35700. git-svn-id: https://develop.svn.wordpress.org/trunk@36488 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index d25b69ebdb..89ecbbefa9 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -3888,7 +3888,7 @@ function sanitize_option( $option, $value ) { * * @param mixed $value The array, object, or scalar. * @param callable $callback The function to map onto $value. - * @return The value with the callback applied to all non-arrays and non-objects inside it. + * @return mixed The value with the callback applied to all non-arrays and non-objects inside it. */ function map_deep( $value, $callback ) { if ( is_array( $value ) ) {