mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -142,7 +142,7 @@ class HouseholdMember
|
||||
|
||||
public function isCurrent(?DateTimeImmutable $at = null): bool
|
||||
{
|
||||
$at = $at ?? new DateTimeImmutable('now');
|
||||
$at ??= new DateTimeImmutable('now');
|
||||
|
||||
return $this->getStartDate() < $at && (
|
||||
null === $this->getEndDate() || $this->getEndDate() > $at
|
||||
|
Reference in New Issue
Block a user