Post::addComment() bug fix.

This commit is contained in:
Alexey Skobkin 2018-11-04 19:00:53 +03:00
parent f5a4e5b896
commit 63b27dc312
1 changed files with 0 additions and 1 deletions

View File

@ -263,7 +263,6 @@ class Post
public function addComment(Comment $comment): self
{
$this->comments[] = $comment;
$comment->setPost($this);
return $this;
}