WordPress.org

Make WordPress Core

Changeset 36488


Ignore:
Timestamp:
02/07/2016 12:14:15 AM (6 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing type to the return description for map_deep().

Props sebastianpisula.
See #35700.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r36249 r36488  
    38893889 * @param mixed    $value    The array, object, or scalar.
    38903890 * @param callable $callback The function to map onto $value.
    3891  * @return The value with the callback applied to all non-arrays and non-objects inside it.
     3891 * @return mixed The value with the callback applied to all non-arrays and non-objects inside it.
    38923892 */
    38933893function map_deep( $value, $callback ) {
Note: See TracChangeset for help on using the changeset viewer.