mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
allow DateTimeImmutable on getLastAddress
This commit is contained in:
parent
d5d69bbb86
commit
fe54c76317
@ -753,7 +753,7 @@ class Person implements HasCenterInterface {
|
|||||||
return $this->addresses;
|
return $this->addresses;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLastAddress(DateTime $from = null)
|
public function getLastAddress(\DateTimeInterface $from = null)
|
||||||
{
|
{
|
||||||
$from ??= new DateTime('now');
|
$from ??= new DateTime('now');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user