We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff43a6 commit a79808eCopy full SHA for a79808e
src/EthplorerApi.php
@@ -10,13 +10,13 @@ class EthplorerApi
10
11
private $apiAddress = "https://api.ethplorer.io/";
12
private $apiKeys = [];
13
- private $randKeys = false;
+ private $randKeys;
14
private $apiKeyIndex = 0;
15
16
/**
17
* Constructor to initialize the API with an array of API keys
18
*/
19
- public function __construct(array $apiKeys, bool $randKeys)
+ public function __construct(array $apiKeys, bool $randKeys = false)
20
{
21
$this->apiKeys = $apiKeys;
22
$this->randKeys = $randKeys;
0 commit comments