Skip to content

Commit 5453675

Browse files
committed
Fix another deprecation warning
1 parent a8d4037 commit 5453675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Client/CurseForgeAPIClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class CurseForgeAPIClient
6262
* @param Configuration|null $configuration
6363
* @param ClientInterface|null $httpClient
6464
*/
65-
public function __construct(string $apiToken, ?Configuration $configuration = null, ClientInterface $httpClient = null)
65+
public function __construct(string $apiToken, ?Configuration $configuration = null, ?ClientInterface $httpClient = null)
6666
{
6767
$this->httpClient = $httpClient;
6868
$this->configuration = $configuration ?? (Configuration::getDefaultConfiguration())
@@ -446,4 +446,4 @@ public function getMinecraftModLoader(string $modLoaderName): MinecraftModLoader
446446
{
447447
return $this->minecraft->getSpecificMinecraftModLoader($modLoaderName)->getData();
448448
}
449-
}
449+
}

0 commit comments

Comments
 (0)