mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 14:16:50 +01:00
Fix PHP Fatal error
This commit is contained in:
@@ -10,7 +10,7 @@ class RateLimit
|
|||||||
public int $max_attempts;
|
public int $max_attempts;
|
||||||
public int $ttl;
|
public int $ttl;
|
||||||
public $enabled = false;
|
public $enabled = false;
|
||||||
protected array $data;
|
protected array $data = [];
|
||||||
|
|
||||||
public function __construct(string $key, int $max_attempts, int $ttl)
|
public function __construct(string $key, int $max_attempts, int $ttl)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user