From 22a26d52986004d0967cada2e8ec2872dbb94683 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 13 Jan 2017 02:39:44 +0300 Subject: [PATCH] Post phpDoc fixes and type missing type hinting. --- .../Bundle/PointToolsBundle/Entity/Blogs/Post.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php index 95bd482..ec4a827 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php @@ -103,11 +103,7 @@ class Post private $comments; - /** - * Post constructor. - * @param string $id - */ - public function __construct($id) + public function __construct(string $id) { $this->id = $id; @@ -195,8 +191,6 @@ class Post } /** - * Get files - * * @return File[]|ArrayCollection */ public function getFiles(): iterable @@ -218,8 +212,6 @@ class Post } /** - * Get tags - * * @return PostTag[]|ArrayCollection */ public function getPostTags(): iterable @@ -275,8 +267,6 @@ class Post } /** - * Get comments - * * @return Comment[]|ArrayCollection */ public function getComments(): iterable