Make WordPress Core


Ignore:
Timestamp:
01/10/2015 06:53:48 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. Constructors do not have meaningful return values, anything that is returned from here is discarded.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r31090 r31126  
    19621962        } else {
    19631963            if ( !isset( $data['name'] ) )
    1964                 return false;
     1964                return;
    19651965
    19661966            // Set properties based directly on parameters.
Note: See TracChangeset for help on using the changeset viewer.