mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix return type in Person
This commit is contained in:
parent
ca64c1e011
commit
3d94647352
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user