Skip to content

Commit

Permalink
Update EthplorerApi.php
Browse files Browse the repository at this point in the history
  • Loading branch information
numairawan committed Sep 29, 2023
1 parent 0ff43a6 commit a79808e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EthplorerApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ class EthplorerApi

private $apiAddress = "https://api.ethplorer.io/";
private $apiKeys = [];
private $randKeys = false;
private $randKeys;
private $apiKeyIndex = 0;

/**
* Constructor to initialize the API with an array of API keys
*/
public function __construct(array $apiKeys, bool $randKeys)
public function __construct(array $apiKeys, bool $randKeys = false)
{
$this->apiKeys = $apiKeys;
$this->randKeys = $randKeys;
Expand Down

0 comments on commit a79808e

Please sign in to comment.