Make WordPress Core


Ignore:
Timestamp:
01/10/2015 06:12:25 AM (11 years ago)
Author:
wonderboymusic
Message:

Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value - anything that is returned is discarded.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-background.php

    r31116 r31125  
    5454     * @param callback $admin_header_callback
    5555     * @param callback $admin_image_div_callback Optional custom image div output callback.
    56      * @return Custom_Background
    5756     */
    5857    public function __construct($admin_header_callback = '', $admin_image_div_callback = '') {
Note: See TracChangeset for help on using the changeset viewer.