From 53aede5893500ddd2b75118ed405c9fab1d0333f Mon Sep 17 00:00:00 2001 From: "pieterjan.eilers" Date: Fri, 29 May 2026 15:28:33 +0200 Subject: [PATCH 1/2] RT-18323: Mark transferContacts as deprecated --- src/Api/DomainsApi.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Api/DomainsApi.php b/src/Api/DomainsApi.php index bbea213..59b1f21 100644 --- a/src/Api/DomainsApi.php +++ b/src/Api/DomainsApi.php @@ -260,6 +260,8 @@ public function update( * @see https://dm.realtimeregister.com/docs/api/domains/update * * @throws Exception + * + * @param array|null $transferContacts Deprecated, obsolete. */ public function transfer( string $domainName, @@ -270,6 +272,7 @@ public function transfer( ?string $authcode = null, ?bool $autoRenew = null, ?array $ns = null, + /** @deprecated obsolete */ ?array $transferContacts = null, ?string $designatedAgent = null, ?Zone $zone = null, @@ -304,6 +307,7 @@ public function transfer( } if (is_array($transferContacts)) { + trigger_error('Parameter $transferContacts is deprecated, obsolete.', E_USER_DEPRECATED); $payload['transferContacts'] = $transferContacts; } From f27c09047db77fb8a48826a83eac682b508dc7d7 Mon Sep 17 00:00:00 2001 From: "pieterjan.eilers" Date: Fri, 29 May 2026 15:32:05 +0200 Subject: [PATCH 2/2] RT-18323: Fix styling --- src/Api/DomainsApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/DomainsApi.php b/src/Api/DomainsApi.php index 59b1f21..c20b862 100644 --- a/src/Api/DomainsApi.php +++ b/src/Api/DomainsApi.php @@ -259,9 +259,9 @@ public function update( /** * @see https://dm.realtimeregister.com/docs/api/domains/update * - * @throws Exception - * * @param array|null $transferContacts Deprecated, obsolete. + * + * @throws Exception */ public function transfer( string $domainName,