diff --git a/src/Service/RDAPService.php b/src/Service/RDAPService.php index 1802751..c73110e 100644 --- a/src/Service/RDAPService.php +++ b/src/Service/RDAPService.php @@ -509,7 +509,7 @@ readonly class RDAPService $entity->setHandle($rdapEntity['handle']); - if (array_key_exists('remarks', $rdapEntity) && is_array($rdapEntity['remarks']) && !in_array($rdapEntity['handle'], self::IANA_RESERVED_IDS)) { + if (array_key_exists('remarks', $rdapEntity) && is_array($rdapEntity['remarks']) && !is_int($rdapEntity['handle'])) { $entity->setRemarks($rdapEntity['remarks']); }