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

    r32540 r32568  
    3737 *      figure if redirect is needed.
    3838 * @param bool $do_redirect Optional. Redirect to the new URL.
    39  * @return null|string Null, if redirect not needed, or the string of the URL
     39 * @return string|void The string of the URL, if redirect needed.
    4040 */
    4141function redirect_canonical( $requested_url = null, $do_redirect = true ) {
Note: See TracChangeset for help on using the changeset viewer.