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; }