formatter
continuous-integration/drone/push Build is passing

This commit is contained in:
mathieu_c committed 2024-01-12 12:28:53 +00:00
1 parent 037ed54ed9
commit 023e55c1bf
3 files changed
+9 -6

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@ class MultiDownloaderClient
throw new \InvalidArgumentException('API key is required');
}
$this->apiKey = $apiKey;
$apiSecret = $options['apiSecret'] ?? getenv('MULTI_DOWNLOADER_SECRET_KEY');
if (!$apiSecret) {
throw new \InvalidArgumentException('API secret key is required');
@@ -41,7 +41,7 @@ class MultiDownloaderClient
{
$this->files = [];
$this->addFiles($files);
return $this;
}