Make WordPress Core


Ignore:
Timestamp:
03/25/2018 06:09:56 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-nav-menu.php

    r42808 r42875  
    6969         * @since 4.8.0
    7070         *
    71          * @param array    $classes The CSS classes that are applied to the menu `<ul>` element.
     71         * @param string[] $classes Array of the CSS classes that are applied to the menu `<ul>` element.
    7272         * @param stdClass $args    An object of `wp_nav_menu()` arguments.
    7373         * @param int      $depth   Depth of menu item. Used for padding.
     
    146146         * @since 4.1.0 The `$depth` parameter was added.
    147147         *
    148          * @param array    $classes The CSS classes that are applied to the menu item's `<li>` element.
     148         * @param string[] $classes Array of the CSS classes that are applied to the menu item's `<li>` element.
    149149         * @param WP_Post  $item    The current menu item.
    150150         * @param stdClass $args    An object of wp_nav_menu() arguments.
Note: See TracChangeset for help on using the changeset viewer.