Make WordPress Core


Ignore:
Timestamp:
01/10/2015 06:53:48 AM (12 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/query.php

    r31090 r31126  
    39403940         *
    39413941         * @param string $query URL query string.
    3942          * @return WP_Query
    39433942         */
    39443943        public function __construct($query = '') {
     
    41734172         *
    41744173         * @param mixed $taxonomy Optional. Taxonomy slug or slugs.
    4175          * @param mixed $term. Optional. Term ID, name, slug or array of Term IDs, names, and slugs.
     4174         * @param mixed $term    Optional. Term ID, name, slug or array of Term IDs, names, and slugs.
    41764175         * @return bool
    41774176         */
Note: See TracChangeset for help on using the changeset viewer.