fix
This commit is contained in:
parent
35a4f385b3
commit
446397b5ad
4 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||
* @param bool $trim
|
||||
* @return string
|
||||
*/
|
||||
protected function comment_to_html($comment, $trim=false) {
|
||||
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||
global $user;
|
||||
|
||||
$tfe = new TextFormattingEvent($comment->comment);
|
||||
|
|
|
@ -87,7 +87,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||
}
|
||||
|
||||
|
||||
protected function comment_to_html($comment, $trim=false) {
|
||||
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||
global $user;
|
||||
|
||||
$tfe = new TextFormattingEvent($comment->comment);
|
||||
|
|
|
@ -56,7 +56,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||
}
|
||||
|
||||
|
||||
protected function comment_to_html($comment, $trim=false) {
|
||||
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||
$inner_id = $this->inner_id; // because custom themes can't add params, because PHP
|
||||
global $user;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||
* @param bool $trim
|
||||
* @return string
|
||||
*/
|
||||
protected function comment_to_html($comment, $trim=false) {
|
||||
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||
return $this->rr(parent::comment_to_html($comment, $trim));
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue