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/class-wp-theme.php

    r32550 r32568  
    185185     * @param string $theme_dir Directory of the theme within the theme_root.
    186186     * @param string $theme_root Theme root.
    187      * @param WP_Error|null $_child If this theme is a parent theme, the child may be passed for validation purposes.
     187     * @param WP_Error|void $_child If this theme is a parent theme, the child may be passed for validation purposes.
    188188     */
    189189    public function __construct( $theme_dir, $theme_root, $_child = null ) {
Note: See TracChangeset for help on using the changeset viewer.