Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (6 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/comment.php

    r46660 r46823  
    16851685 * @since 2.7.0
    16861686 *
    1687  * @param string $new_status New comment status.
    1688  * @param string $old_status Previous comment status.
    1689  * @param object $comment Comment data.
     1687 * @param string     $new_status New comment status.
     1688 * @param string     $old_status Previous comment status.
     1689 * @param WP_Comment $comment    Comment object.
    16901690 */
    16911691function wp_transition_comment_status( $new_status, $old_status, $comment ) {
     
    17171717         * @param int|string $new_status The new comment status.
    17181718         * @param int|string $old_status The old comment status.
    1719          * @param object     $comment    The comment data.
     1719         * @param WP_Comment $comment    Comment object.
    17201720         */
    17211721        do_action( 'transition_comment_status', $new_status, $old_status, $comment );
Note: See TracChangeset for help on using the changeset viewer.