Make WordPress Core


Ignore:
Timestamp:
05/24/2015 05:39:47 AM (10 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/author-template.php

    r32538 r32568  
    7171 * @since 2.8.0
    7272 *
    73  * @return string|null The author's display name.
     73 * @return string|void The author's display name.
    7474 */
    7575function get_the_modified_author() {
     
    333333 *     @type string $exclude       An array, comma-, or space-separated list of author IDs to include. Default empty.
    334334 * }
    335  * @return null|string The output, if echo is set to false. Otherwise null.
     335 * @return string|void The output, if echo is set to false.
    336336 */
    337337function wp_list_authors( $args = '' ) {
Note: See TracChangeset for help on using the changeset viewer.