mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix PHP Fatal error
This commit is contained in:
parent
a0f1971583
commit
c49c9d99a9
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user