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-taxonomy.php

    r42748 r42876  
    247247         * @since 4.4.0
    248248         *
    249          * @param array  $args        Array of arguments for registering a taxonomy.
    250          * @param string $taxonomy    Taxonomy key.
    251          * @param array $object_type Array of names of object types for the taxonomy.
     249         * @param array    $args        Array of arguments for registering a taxonomy.
     250         * @param string   $taxonomy    Taxonomy key.
     251         * @param string[] $object_type Array of names of object types for the taxonomy.
    252252         */
    253253        $args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );
Note: See TracChangeset for help on using the changeset viewer.