From c49c9d99a99629ce3270f74a520f7d03a04a6a78 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 27 Oct 2024 20:40:48 +0100 Subject: [PATCH] Fix PHP Fatal error --- system/src/RateLimit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/RateLimit.php b/system/src/RateLimit.php index 9bc32524..df4349e5 100644 --- a/system/src/RateLimit.php +++ b/system/src/RateLimit.php @@ -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) {