Tag->setPost() removed in Post.
This commit is contained in:
parent
6c321a9fc6
commit
49b039026c
|
@ -182,7 +182,6 @@ class Post
|
||||||
|
|
||||||
public function addPostTag(PostTag $tag): self
|
public function addPostTag(PostTag $tag): self
|
||||||
{
|
{
|
||||||
$tag->setPost($this);
|
|
||||||
$this->postTags[] = $tag;
|
$this->postTags[] = $tag;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in a new issue