Skip to content

Commit f9e371f

Browse files
authored
Use object as arg type for WP_Comment constructor
1 parent d3407f2 commit f9e371f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public static function get_instance( $id ) {
210210
*
211211
* @since 4.4.0
212212
*
213-
* @param WP_Comment|object $comment Comment object.
213+
* @param object $comment Comment object.
214214
*/
215215
public function __construct( $comment ) {
216216
foreach ( get_object_vars( $comment ) as $key => $value ) {

0 commit comments

Comments
 (0)