Skip to content

Commit e951cfb

Browse files
committed
fix deprecations
1 parent d988406 commit e951cfb

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
@@ -45,8 +45,8 @@
4545
* @throws MissingApiKeyException
4646
*/
4747
public function __construct(
48-
string $apiKey = null,
49-
ClientInterface $client = null,
48+
?string $apiKey = null,
49+
?ClientInterface $client = null,
5050
) {
5151
$apiKey = $apiKey ?? $_ENV['DOCUMENT_CLOUD_API_KEY'] ?? null;
5252
if (!$apiKey) {

0 commit comments

Comments
 (0)