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/class-wp-ajax-response.php

    r29454 r31126  
    2323         *
    2424         * @param string|array $args Optional. Will be passed to add() method.
    25          * @return WP_Ajax_Response
    2625         */
    2726        public function __construct( $args = '' ) {
Note: See TracChangeset for help on using the changeset viewer.