This commit is contained in:
JarJak 2015-09-20 12:14:56 +02:00
parent 35a4f385b3
commit 446397b5ad
4 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;

View file

@ -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));
}