Skip to content

Commit a79808e

Browse files
committed
Update EthplorerApi.php
1 parent 0ff43a6 commit a79808e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EthplorerApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class EthplorerApi
1010

1111
private $apiAddress = "https://api.ethplorer.io/";
1212
private $apiKeys = [];
13-
private $randKeys = false;
13+
private $randKeys;
1414
private $apiKeyIndex = 0;
1515

1616
/**
1717
* Constructor to initialize the API with an array of API keys
1818
*/
19-
public function __construct(array $apiKeys, bool $randKeys)
19+
public function __construct(array $apiKeys, bool $randKeys = false)
2020
{
2121
$this->apiKeys = $apiKeys;
2222
$this->randKeys = $randKeys;

0 commit comments

Comments
 (0)