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

    r31090 r31126  
    487487     *
    488488     * @param null|string|array $args Optional. The query variables.
    489      * @return WP_User_Query
    490489     */
    491490    public function __construct( $query = null ) {
Note: See TracChangeset for help on using the changeset viewer.