WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2018 07:32:24 PM (4 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.wp-dependencies.php

    r42343 r42876  
    204204     * @param string           $handle Name of the item. Should be unique.
    205205     * @param string           $src    Full URL of the item, or path of the item relative to the WordPress root directory.
    206      * @param array            $deps   Optional. An array of registered item handles this item depends on. Default empty array.
     206     * @param string[]         $deps   Optional. An array of registered item handles this item depends on. Default empty array.
    207207     * @param string|bool|null $ver    Optional. String specifying item version number, if it has one, which is added to the URL
    208208     *                                 as a query string for cache busting purposes. If version is set to false, a version
     
    330330     * @since 4.0.0
    331331     *
    332      * @param array  $queue  An array of queued _WP_Dependency handle objects.
    333      * @param string $handle Name of the item. Should be unique.
     332     * @param string[] $queue  An array of queued _WP_Dependency handles.
     333     * @param string   $handle Name of the item. Should be unique.
    334334     * @return bool Whether the handle is found after recursively searching the dependency tree.
    335335     */
Note: See TracChangeset for help on using the changeset viewer.