From 033cd185ba67e038a6b5ab8a683bd8f57bc91dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Wed, 29 Oct 2025 01:18:27 +0100 Subject: [PATCH] fix: typed property --- src/Service/RDAPService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))); }