From 09925491afb7ef34c5e363c62baf0ab6ad377d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81ukaszczyk?= Date: Tue, 18 Mar 2025 14:31:16 +0100 Subject: [PATCH] Fix implicitly marking parameter $proxy as nullable --- src/SmsapiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SmsapiClient.php b/src/SmsapiClient.php index d979abc..0e130f9 100644 --- a/src/SmsapiClient.php +++ b/src/SmsapiClient.php @@ -35,7 +35,7 @@ class SmsapiClient * @param array $defaults * @param Proxy|null $proxy */ - public function __construct(Client $client, array $defaults = [], Proxy $proxy = null) + public function __construct(Client $client, array $defaults = [], ?Proxy $proxy = null) { $this->client = $client; $this->defaults = $defaults;