Make WordPress Core


Ignore:
Timestamp:
07/01/2021 09:01:17 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-term.php

    r46986 r51298  
    8383     * @param null  $generation_definitions The default values.
    8484     *
    85      * @return WP_Term|WP_Error|null WP_Term on success. WP_error if taxonomy does not exist. Null for miscellaneous failure.
     85     * @return WP_Term|WP_Error|null WP_Term on success. WP_Error if taxonomy does not exist. Null for miscellaneous failure.
    8686     */
    8787    public function create_and_get( $args = array(), $generation_definitions = null ) {
     
    101101     * @param int $term_id ID of the term to retrieve.
    102102     *
    103      * @return WP_Term|WP_Error|null WP_Term on success. WP_error if taxonomy does not exist. Null for miscellaneous failure.
     103     * @return WP_Term|WP_Error|null WP_Term on success. WP_Error if taxonomy does not exist. Null for miscellaneous failure.
    104104     */
    105105    public function get_object_by_id( $term_id ) {
Note: See TracChangeset for help on using the changeset viewer.