From 49b039026c3163afc76787b4a9958284bad3b152 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 6 Nov 2017 07:18:02 +0300 Subject: [PATCH] Tag->setPost() removed in Post. --- src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php index ed1a6c3..9fd846b 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php @@ -182,7 +182,6 @@ class Post public function addPostTag(PostTag $tag): self { - $tag->setPost($this); $this->postTags[] = $tag; return $this;