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

    r30681 r31126  
    677677     *
    678678     * @since 2.0.8
    679      * @return null|WP_Object_Cache If cache is disabled, returns null.
    680679     */
    681680    public function __construct() {
Note: See TracChangeset for help on using the changeset viewer.