fix: cast string in jCard

This commit is contained in:
Maël Gangloff 2025-09-11 16:36:39 +02:00
parent 92d3e0ff7c
commit ca2f7e15a5
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -847,7 +847,7 @@ class RDAPService
$entity
->setHandle($registrar->value)
->setTld(null)
->setJCard(['vcard', [['version', [], 'text', '4.0'], ['fn', [], 'text', $registrar->name]]])
->setJCard(['vcard', [['version', [], 'text', '4.0'], ['fn', [], 'text', (string) $registrar->name]]])
->setRemarks(null)
->getIanaAccreditation()
->setRegistrarName($registrar->name)