Skip to content

Commit 18c4d69

Browse files
authored
Fix implicitly nullable parameter declarations deprecated (#72)
1 parent d5cbf43 commit 18c4d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ class Client
4242
* debug => true,
4343
* ];
4444
*
45-
* @param ?HTTPClientInterface $client Optional, pass in custom HTTP client.
45+
* @param HTTPClientInterface $client Optional, pass in custom HTTP client.
4646
*
4747
* @return Object Client object
4848
*/
49-
public function __construct( array $options = [], ?HTTPClientInterface $client = null)
49+
public function __construct( array $options = [], HTTPClientInterface $client = null)
5050
{
5151
$this->options = $options;
5252
$this->http_client = $client ?? new HTTPClient($options);

0 commit comments

Comments
 (0)