Skip to content

Commit 3a353d8

Browse files
authored
Make compatible with PHP 8.4
> MessageBird\Client::__construct(): Implicitly marking parameter $httpClient as nullable is deprecated, the explicit nullable type must be used instead
1 parent ea8512b commit 3a353d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageBird/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Client
147147
*/
148148
protected $numbersAPIClient;
149149

150-
public function __construct(?string $accessKey = null, Common\HttpClient $httpClient = null, array $config = [])
150+
public function __construct(?string $accessKey = null, ?Common\HttpClient $httpClient = null, array $config = [])
151151
{
152152
if ($httpClient === null) {
153153
$this->conversationsAPIHttpClient = new Common\HttpClient(

0 commit comments

Comments
 (0)