Skip to content

Commit

Permalink
Linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffguillain committed Sep 26, 2024
1 parent e490203 commit f95840d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions themes/osi/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,9 @@ function osi_adjust_offset_pagination( int $found_posts, WP_Query $query ) {
/**
* Trim the Discourse comment body to 50 words.
*
* @param string $comment_body
* @return void
* @param string $comment_body The comment body.
*
* @return string The trimmed comment body.
*/
function osi_wpdc_comment_body( $comment_body ) {
$trimmed_comment_body = wp_trim_words( $comment_body, 50, '(...)' );
Expand Down

0 comments on commit f95840d

Please sign in to comment.