mirror of
https://github.com/flarum/core.git
synced 2025-10-17 09:46:14 +02:00
Rename discussion.commentsCount
This commit is contained in:
@@ -230,11 +230,11 @@ class Discussion extends AbstractModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Refresh the discussion's comments count.
|
||||
* Refresh the discussion's comment count.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function refreshCommentsCount()
|
||||
public function refreshCommentCount()
|
||||
{
|
||||
$this->comment_count = $this->comments()->count();
|
||||
|
||||
|
Reference in New Issue
Block a user