From 95cab0b5649fe009d6cb0887352a6bd484a2b7de Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 12 Dec 2016 21:02:19 +0300 Subject: [PATCH] Entity\Comment code quality fix. --- src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php index 5530c99..d508170 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php @@ -96,7 +96,7 @@ class Comment private $parent; /** - * @var Comment[] + * @var Comment[]|ArrayCollection * * @ORM\OneToMany(targetEntity="Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Comment", fetch="EXTRA_LAZY", mappedBy="parent") */ @@ -370,7 +370,7 @@ class Comment /** * Get children * - * @return ArrayCollection + * @return Comment[]|ArrayCollection */ public function getChildren() {