From 0819c068ada061bb980bbe3c91314ba7052b37c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steen=20Sch=C3=BCtt?= <6237359+SteenSchutt@users.noreply.github.com> Date: Tue, 8 Jul 2025 15:12:07 +0200 Subject: [PATCH] Fix implicitly nullable arguments to be explicit in RequestsEndpoint::scheduleValidationCall --- src/Endpoints/RequestsEndpoint.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Endpoints/RequestsEndpoint.php b/src/Endpoints/RequestsEndpoint.php index b1fc06b..04b9f4d 100644 --- a/src/Endpoints/RequestsEndpoint.php +++ b/src/Endpoints/RequestsEndpoint.php @@ -135,10 +135,10 @@ public function scheduleValidationCall( int $id, DateTime $dateTime, string $timezone = 'Europe/Amsterdam', - string $phoneNumber = null, - string $extensionNumber = null, - string $email = null, - string $comments = null, + ?string $phoneNumber = null, + ?string $extensionNumber = null, + ?string $email = null, + ?string $comments = null, string $action = 'ScheduledCallback', string $language = 'en_us' ): Base @@ -248,4 +248,4 @@ public function cancel(int $id, ?string $reason = null): Base 'reason' => $reason ?? '' ])); } -} \ No newline at end of file +}