fix: typed property

This commit is contained in:
Maël Gangloff
2025-10-29 01:18:27 +01:00
parent ee22b7af2f
commit 033cd185ba

View File

@@ -735,7 +735,7 @@ class RDAPService
} }
if ($domain->isRedemptionPeriod() if ($domain->isRedemptionPeriod()
&& in_array('redemption period', $lastStatus->getAddStatus()) && in_array('redemption period', $lastStatus->getAddStatus() ?? [])
) { ) {
return self::daysBetween($now, $lastStatus->getCreatedAt()->add(new \DateInterval('P'.(30 + 5).'D'))); return self::daysBetween($now, $lastStatus->getCreatedAt()->add(new \DateInterval('P'.(30 + 5).'D')));
} }