Make WordPress Core


Ignore:
Timestamp:
05/02/2024 01:17:45 PM (9 months ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements.

See #60699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-script-modules.php

    r57840 r58075  
    1919     *
    2020     * @since 6.5.0
    21      * @var array
     21     * @var array[]
    2222     */
    2323    private $registered = array();
     
    275275     * @since 6.5.0
    276276     *
    277      * @return array Script modules marked for enqueue, keyed by script module identifier.
     277     * @return array[] Script modules marked for enqueue, keyed by script module identifier.
    278278     */
    279279    private function get_marked_for_enqueue(): array {
     
    297297     * @since 6.5.0
    298298     *
    299 
    300299     * @param string[] $ids          The identifiers of the script modules for which to gather dependencies.
    301      * @param array    $import_types Optional. Import types of dependencies to retrieve: 'static', 'dynamic', or both.
     300     * @param string[] $import_types Optional. Import types of dependencies to retrieve: 'static', 'dynamic', or both.
    302301     *                               Default is both.
    303      * @return array List of dependencies, keyed by script module identifier.
     302     * @return array[] List of dependencies, keyed by script module identifier.
    304303     */
    305304    private function get_dependencies( array $ids, array $import_types = array( 'static', 'dynamic' ) ) {
     
    354353         * @since 6.5.0
    355354         *
    356          * @param string $src Module source url.
     355         * @param string $src Module source URL.
    357356         * @param string $id  Module identifier.
    358357         */
Note: See TracChangeset for help on using the changeset viewer.