From b794ad125c6ca4a36a26af76646fdbd42053dd3b Mon Sep 17 00:00:00 2001 From: mchev Date: Tue, 21 Feb 2023 18:13:40 +0100 Subject: [PATCH] Make getBannedIPsFromCache static --- src/IP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IP.php b/src/IP.php index e458059..b8d3347 100644 --- a/src/IP.php +++ b/src/IP.php @@ -44,7 +44,7 @@ public static function banned(): Builder ->groupBy('ip'); } - public function getBannedIPsFromCache(): Array + public static function getBannedIPsFromCache(): Array { return Cache::has('banned-ips') ? Cache::get('banned-ips')