Skip to content

Commit

Permalink
Fix PHP Fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Oct 27, 2024
1 parent a0f1971 commit c49c9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/RateLimit.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class RateLimit
public int $max_attempts;
public int $ttl;
public $enabled = false;
protected array $data;
protected array $data = [];

public function __construct(string $key, int $max_attempts, int $ttl)
{
Expand Down

0 comments on commit c49c9d9

Please sign in to comment.