Make WordPress Core


Ignore:
Timestamp:
05/24/2015 05:39:47 AM (9 years ago)
Author:
wonderboymusic
Message:

Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.

See #32444.

File:
1 edited

Legend:

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

    r32542 r32568  
    632632 *
    633633 * @param array|string|null $args Optional. Override default arguments.
    634  * @return null|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
     634 * @return void|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
    635635 *                    Otherwise, this function outputs the tag cloud.
    636636 */
     
    14061406 * @param string $sep Optional. Separate items using this.
    14071407 * @param string $after Optional. After list.
    1408  * @return false|null False on WordPress error. Returns null when displaying.
     1408 * @return false|void False on WordPress error.
    14091409 */
    14101410function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) {
Note: See TracChangeset for help on using the changeset viewer.