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
This commit is contained in:
parent
0ac4ed2e67
commit
e0787b6a2b
@ -3888,7 +3888,7 @@ function sanitize_option( $option, $value ) {
|
|||||||
*
|
*
|
||||||
* @param mixed $value The array, object, or scalar.
|
* @param mixed $value The array, object, or scalar.
|
||||||
* @param callable $callback The function to map onto $value.
|
* @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 ) {
|
function map_deep( $value, $callback ) {
|
||||||
if ( is_array( $value ) ) {
|
if ( is_array( $value ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user