From 6aa65447745b7890ef67a9dbd0319dc21b701231 Mon Sep 17 00:00:00 2001 From: Melroy van den Berg Date: Mon, 8 Dec 2025 12:50:46 +0100 Subject: [PATCH] Fix implicitly nullable parameter declarations deprecated --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index a8789fc..20bd9b9 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);