Skip to content

Commit 8b7af4d

Browse files
committed
chore: make timeout nullable
1 parent 12f8c46 commit 8b7af4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/GrokConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class GrokConfig
1616
public function __construct(
1717
public ?string $apiKey = null,
1818
public readonly string $baseUri = DefaultConfig::BASE_URI->value,
19-
public int $timeout = 0
19+
public ?int $timeout = null
2020
) {
2121
$this->apiKey = $apiKey ?? getenv('GROK_API_KEY');
2222

0 commit comments

Comments
 (0)