Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php

    r46696 r46823  
    228228                 * @since 4.7.0
    229229                 *
    230                  * @param WP_REST_Response $response The response object.
    231                  * @param object           $item    The original post type object.
    232                  * @param WP_REST_Request  $request  Request used to generate the response.
     230                 * @param WP_REST_Response $response  The response object.
     231                 * @param WP_Post_Type     $post_type The original post type object.
     232                 * @param WP_REST_Request  $request   Request used to generate the response.
    233233                 */
    234234                return apply_filters( 'rest_prepare_post_type', $response, $post_type, $request );
Note: See TracChangeset for help on using the changeset viewer.