We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45e955e commit 05f2ee5Copy full SHA for 05f2ee5
src/Config/GrokConfig.php
@@ -23,6 +23,6 @@ public function __construct(
23
if (! $this->apiKey) {
24
throw GrokException::missingApiKey();
25
}
26
- $this->timeout = (int) DefaultConfig::TIMEOUT->value;
+ $this->timeout = $timeout ?? (int) DefaultConfig::TIMEOUT->value;
27
28
0 commit comments