From 860ea955389b63bca594c32d2ce78c254da8e1c2 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 12 Dec 2016 21:23:11 +0300 Subject: [PATCH] PostFactory code quality fix. --- .../PointToolsBundle/Service/Factory/Blogs/PostFactory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php b/src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php index 6a9a048..83667f3 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Service/Factory/Blogs/PostFactory.php @@ -57,7 +57,7 @@ class PostFactory /** * @param EntityManager $em */ - public function __construct(LoggerInterface $log, EntityManagerInterface $em, UserFactory $userFactory, FileFactory $fileFactory, CommentFactory $commentFactory, TagFactory $tagFactory) + public function __construct(LoggerInterface $log, EntityManager $em, UserFactory $userFactory, FileFactory $fileFactory, CommentFactory $commentFactory, TagFactory $tagFactory) { $this->log = $log; $this->userFactory = $userFactory; @@ -71,7 +71,7 @@ class PostFactory /** * Creates posts and return status of new insertions * - * @param PostsPage $data + * @param PostsPage $page * * @return bool * @throws ApiException @@ -182,7 +182,7 @@ class PostFactory /** * @param Post $post - * @param Tag[] $tags + * @param string[] $tagsStrings */ private function updatePostTags(Post $post, array $tagsStrings) {