From 4761c982adbadfe42175c6b1566448fd8c4a697d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sun, 29 Dec 2024 01:06:23 +0100 Subject: [PATCH] fix: is_numeric instead of is_int --- 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 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']); }