From 3d94647352c0fdaa5974dc8a1ae57bfc41d043a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 30 Apr 2021 00:02:06 +0200 Subject: [PATCH] fix return type in Person --- src/Bundle/ChillPersonBundle/Entity/Person.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index 57e04fe73..126565a03 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -27,6 +27,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface; use Chill\MainBundle\Entity\Country; use Chill\PersonBundle\Entity\MaritalStatus; use Doctrine\Common\Collections\ArrayCollection; +use Doctrine\Common\Collections\Collection; use Chill\MainBundle\Entity\HasCenterInterface; use Chill\MainBundle\Entity\Address; use DateTime; @@ -747,7 +748,7 @@ class Person implements HasCenterInterface { * By default, the addresses are ordered by date, descending (the most * recent first) */ - public function getAddresses(): ArrayCollection + public function getAddresses(): Collection { return $this->addresses; }