diff --git a/src/Service/RDAPService.php b/src/Service/RDAPService.php index d77e1fe..3b6cdcd 100644 --- a/src/Service/RDAPService.php +++ b/src/Service/RDAPService.php @@ -735,7 +735,7 @@ class RDAPService } 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'))); }