From 5739f23db2f818270cc3c45c59eae14a9188fb48 Mon Sep 17 00:00:00 2001 From: Melroy van den Berg Date: Sat, 20 Dec 2025 18:01:39 +0100 Subject: [PATCH] Revert "Fix implicitly nullable parameter declarations deprecated (#72)" This reverts commit 18c4d69e0e0b10d8011d89d4ed94aeb33a962623. --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 20bd9b9..a8789fc 100644 --- a/src/Client.php +++ b/src/Client.php @@ -42,11 +42,11 @@ class Client * debug => true, * ]; * - * @param HTTPClientInterface $client Optional, pass in custom HTTP client. + * @param ?HTTPClientInterface $client Optional, pass in custom HTTP client. * * @return Object Client object */ - public function __construct( array $options = [], HTTPClientInterface $client = null) + public function __construct( array $options = [], ?HTTPClientInterface $client = null) { $this->options = $options; $this->http_client = $client ?? new HTTPClient($options);