Skip to content

Commit f95840d

Browse files
committed
Linting errors
1 parent e490203 commit f95840d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

themes/osi/functions.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,9 @@ function osi_adjust_offset_pagination( int $found_posts, WP_Query $query ) {
411411
/**
412412
* Trim the Discourse comment body to 50 words.
413413
*
414-
* @param string $comment_body
415-
* @return void
414+
* @param string $comment_body The comment body.
415+
*
416+
* @return string The trimmed comment body.
416417
*/
417418
function osi_wpdc_comment_body( $comment_body ) {
418419
$trimmed_comment_body = wp_trim_words( $comment_body, 50, '(...)' );

0 commit comments

Comments
 (0)