Skip to content

Commit

Permalink
Make getBannedIPsFromCache static
Browse files Browse the repository at this point in the history
  • Loading branch information
mchev committed Feb 21, 2023
1 parent b9e48ac commit b794ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IP.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b794ad1

Please sign in to comment.