From b06eaec2b39c2455ede714e50ffe343534d13014 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 12 Dec 2016 20:59:42 +0300 Subject: [PATCH] PostsPage code quality fix. --- .../Bundle/PointToolsBundle/DTO/Api/Crawler/PostsPage.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Crawler/PostsPage.php b/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Crawler/PostsPage.php index 1dda918..6913e1c 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Crawler/PostsPage.php +++ b/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Crawler/PostsPage.php @@ -2,7 +2,6 @@ namespace Skobkin\Bundle\PointToolsBundle\DTO\Api\Crawler; -use Doctrine\Common\Collections\ArrayCollection; use JMS\Serializer\Annotation as JMSS; /** @@ -21,7 +20,7 @@ class PostsPage private $posts; /** - * @return MetaPost[]|ArrayCollection + * @return MetaPost[] */ public function getPosts() { @@ -29,7 +28,9 @@ class PostsPage } /** - * @param MetaPost[]|ArrayCollection $posts + * @todo move to constructor + * + * @param MetaPost[] $posts * @return PostsPage */ public function setPosts($posts)