diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php index c55b703..a9b5b0c 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Comment.php @@ -204,7 +204,7 @@ class Comment /** * @return File[]|ArrayCollection */ - public function getFiles() + public function getFiles(): iterable { return $this->files; } @@ -256,7 +256,7 @@ class Comment /** * @return Comment[]|ArrayCollection */ - public function getChildren() + public function getChildren(): iterable { return $this->children; } diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php index 59b7821..95bd482 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php @@ -199,7 +199,7 @@ class Post * * @return File[]|ArrayCollection */ - public function getFiles() + public function getFiles(): iterable { return $this->files; } @@ -222,7 +222,7 @@ class Post * * @return PostTag[]|ArrayCollection */ - public function getPostTags() + public function getPostTags(): iterable { return $this->postTags; } @@ -279,7 +279,7 @@ class Post * * @return Comment[]|ArrayCollection */ - public function getComments() + public function getComments(): iterable { return $this->comments; } diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/User.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/User.php index c87b0a2..69adb10 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/User.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/User.php @@ -137,7 +137,7 @@ class User /** * @return Subscription[]|ArrayCollection */ - public function getSubscribers() + public function getSubscribers(): iterable { return $this->subscribers; } @@ -145,7 +145,7 @@ class User /** * @return Subscription[]|ArrayCollection */ - public function getSubscriptions() + public function getSubscriptions(): iterable { return $this->subscriptions; } @@ -160,7 +160,7 @@ class User /** * @return SubscriptionEvent[]|ArrayCollection */ - public function getNewSubscriberEvents() + public function getNewSubscriberEvents(): iterable { return $this->newSubscriberEvents; }