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/category.php

    r32532 r32568  
    100100 * @param bool $full_match Optional. Whether full path should be matched.
    101101 * @param string $output Optional. Constant OBJECT, ARRAY_A, or ARRAY_N
    102  * @return null|object|array|WP_Error Null on failure. Type is based on $output value.
     102 * @return object|array|WP_Error|void Type is based on $output value.
    103103 */
    104104function get_category_by_path( $category_path, $full_match = true, $output = OBJECT ) {
Note: See TracChangeset for help on using the changeset viewer.