Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

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

    r46662 r46823  
    3333 * @param int[]  $popular_cats         Optional. Array of category IDs to receive the "popular-category" class.
    3434 *                                     Default false.
    35  * @param object $walker               Optional. Walker object to use to build the output.
     35 * @param Walker $walker               Optional. Walker object to use to build the output.
    3636 *                                     Default is a Walker_Category_Checklist instance.
    3737 * @param bool   $checked_ontop        Optional. Whether to move checked items out of the hierarchy and to
     
    6969 *     @type int[]  $popular_cats         Array of category IDs to receive the "popular-category" class.
    7070 *                                        Default false.
    71  *     @type object $walker               Walker object to use to build the output.
     71 *     @type Walker $walker               Walker object to use to build the output.
    7272 *                                        Default is a Walker_Category_Checklist instance.
    7373 *     @type string $taxonomy             Taxonomy to generate the checklist for. Default 'category'.
Note: See TracChangeset for help on using the changeset viewer.