diff --git a/src/Service/RDAPService.php b/src/Service/RDAPService.php index c73110e..19038d2 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']) && !is_int($rdapEntity['handle'])) { + if (array_key_exists('remarks', $rdapEntity) && is_array($rdapEntity['remarks']) && !is_numeric($rdapEntity['handle'])) { $entity->setRemarks($rdapEntity['remarks']); }