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-scripts.php

    r32566 r32568  
    6868     * @param string $handle
    6969     * @param bool   $echo
    70      * @return bool|string|null
     70     * @return bool|string|void
    7171     */
    7272    public function print_scripts_l10n( $handle, $echo = true ) {
     
    7878     * @param string $handle
    7979     * @param bool   $echo
    80      * @return bool|string|null
     80     * @return bool|string|void
    8181     */
    8282    public function print_extra_script( $handle, $echo = true ) {
Note: See TracChangeset for help on using the changeset viewer.